use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class IntegersBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
integers = new Integers();
integers.setFailures(failures);
absValueComparisonStrategy = new ComparatorBasedComparisonStrategy(new AbsValueComparator<Integer>());
integersWithAbsValueComparisonStrategy = new Integers(absValueComparisonStrategy);
integersWithAbsValueComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class ListsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
lists = new Lists();
lists.failures = failures;
comparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveStringComparator.instance);
listsWithCaseInsensitiveComparisonStrategy = new Lists(comparisonStrategy);
listsWithCaseInsensitiveComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class LongsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
longs = new Longs();
longs.setFailures(failures);
absValueComparisonStrategy = new ComparatorBasedComparisonStrategy(new AbsValueComparator<Long>());
longsWithAbsValueComparisonStrategy = new Longs(absValueComparisonStrategy);
longsWithAbsValueComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Failures in project assertj-core by joel-costigliola.
the class BooleansBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
booleans = new Booleans();
booleans.failures = failures;
}
Aggregations