use of org.assertj.core.internal.Strings in project assertj-core by joel-costigliola.
the class StringsBaseTest method setUp.
@Before
public void setUp() {
failures = spy(new Failures());
strings = new Strings();
strings.failures = failures;
comparisonStrategy = new ComparatorBasedComparisonStrategy(CaseInsensitiveStringComparator.instance);
stringsWithCaseInsensitiveComparisonStrategy = new Strings(comparisonStrategy);
stringsWithCaseInsensitiveComparisonStrategy.failures = failures;
}
use of org.assertj.core.internal.Strings in project assertj-core by joel-costigliola.
the class AbstractCharSequenceAssert method usingComparator.
@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super ACTUAL> customComparator, String customComparatorDescription) {
super.usingComparator(customComparator, customComparatorDescription);
this.strings = new Strings(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
return myself;
}
Aggregations