Java-8 default interfaces useful for a JUnit 4 test fixture
Contains AssertJ and the ExtendedMockito mixins as well as a mixin for JUnit asserts and AllAssertions which combines JUnit and AssertJ assertions
Includes JUnit 4.12 in its dependencies.
Requires Java 8 (or higher)
##Latest release
v1.1.29: [Release notes on github] (https://github.com/aro-tech/tdd-mixins-junit4/releases/tag/v1.1.29)
[Binary downloads] (https://oss.sonatype.org/content/groups/public/com/github/aro-tech/tdd-mixins-junit4/1.1.29/ "binaries")
In Maven:
<dependency>
<groupId>com.github.aro-tech</groupId>
<artifactId>tdd-mixins-junit4</artifactId>
<version>1.1.29</version>
<scope>test</scope>
</dependency>
##Example usage
public class MyTest implements ExtendedMockito, AllAssertions {
...
when(mock.extractInformationFrom(toStringContainsAllOf("Gollum", "Smeagol"))).thenReturn("Shire. Baggins.");
assertThat(answer).contains("Shire", "Baggins");
assertTrue(c == '*');