use of org.assertj.core.internal.Characters in project assertj-core by joel-costigliola.
the class CharactersBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
characters = new Characters();
characters.failures = failures;
caseInsensitiveComparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveCharacterComparator.instance);
charactersWithCaseInsensitiveComparisonStrategy = new Characters(caseInsensitiveComparisonStrategy);
charactersWithCaseInsensitiveComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Characters in project assertj-core by joel-costigliola.
the class AbstractCharacterAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Character> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.characters = new Characters(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
Aggregations