Search in sources :

Example 1 with Bytes

use of org.assertj.core.internal.Bytes in project assertj-core by joel-costigliola.

the class AbstractByteAssert method usingComparator.

@Override
@CheckReturnValue
public SELF usingComparator(Comparator<? super Byte> customComparator, String customComparatorDescription) {
    super.usingComparator(customComparator, customComparatorDescription);
    this.bytes = new Bytes(new ComparatorBasedComparisonStrategy(customComparator, customComparatorDescription));
    return myself;
}
Also used : Bytes(org.assertj.core.internal.Bytes) ComparatorBasedComparisonStrategy(org.assertj.core.internal.ComparatorBasedComparisonStrategy) CheckReturnValue(org.assertj.core.util.CheckReturnValue)

Aggregations

Bytes (org.assertj.core.internal.Bytes)1 ComparatorBasedComparisonStrategy (org.assertj.core.internal.ComparatorBasedComparisonStrategy)1 CheckReturnValue (org.assertj.core.util.CheckReturnValue)1