Best Assertj code snippet using org.assertj.core.data.Offset
Source:AssertJ.java
...13import java.time.Instant;14import java.time.LocalDate;15import java.time.LocalDateTime;16import java.time.LocalTime;17import java.time.OffsetDateTime;18import java.time.OffsetTime;19import java.time.Period;20import java.time.ZonedDateTime;21import java.time.temporal.TemporalUnit;22import java.util.Collection;23import java.util.Date;24import java.util.Iterator;25import java.util.List;26import java.util.Map;27import java.util.Optional;28import java.util.OptionalDouble;29import java.util.OptionalInt;30import java.util.OptionalLong;31import java.util.Spliterator;32import java.util.concurrent.CompletableFuture;33import java.util.concurrent.CompletionStage;34import java.util.concurrent.Future;35import java.util.concurrent.atomic.AtomicBoolean;36import java.util.concurrent.atomic.AtomicInteger;37import java.util.concurrent.atomic.AtomicIntegerArray;38import java.util.concurrent.atomic.AtomicIntegerFieldUpdater;39import java.util.concurrent.atomic.AtomicLong;40import java.util.concurrent.atomic.AtomicLongArray;41import java.util.concurrent.atomic.AtomicLongFieldUpdater;42import java.util.concurrent.atomic.AtomicMarkableReference;43import java.util.concurrent.atomic.AtomicReference;44import java.util.concurrent.atomic.AtomicReferenceArray;45import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;46import java.util.concurrent.atomic.AtomicStampedReference;47import java.util.concurrent.atomic.LongAdder;48import java.util.function.Consumer;49import java.util.function.DoublePredicate;50import java.util.function.Function;51import java.util.function.IntPredicate;52import java.util.function.LongPredicate;53import java.util.function.Predicate;54import java.util.stream.DoubleStream;55import java.util.stream.IntStream;56import java.util.stream.LongStream;57import java.util.stream.Stream;58import org.assertj.core.api.AbstractAssert;59import org.assertj.core.api.AbstractBigDecimalAssert;60import org.assertj.core.api.AbstractBigIntegerAssert;61import org.assertj.core.api.AbstractBooleanArrayAssert;62import org.assertj.core.api.AbstractBooleanAssert;63import org.assertj.core.api.AbstractByteArrayAssert;64import org.assertj.core.api.AbstractByteAssert;65import org.assertj.core.api.AbstractCharArrayAssert;66import org.assertj.core.api.AbstractCharSequenceAssert;67import org.assertj.core.api.AbstractCharacterAssert;68import org.assertj.core.api.AbstractCollectionAssert;69import org.assertj.core.api.AbstractComparableAssert;70import org.assertj.core.api.AbstractDateAssert;71import org.assertj.core.api.AbstractDoubleArrayAssert;72import org.assertj.core.api.AbstractDoubleAssert;73import org.assertj.core.api.AbstractDurationAssert;74import org.assertj.core.api.AbstractFileAssert;75import org.assertj.core.api.AbstractFloatArrayAssert;76import org.assertj.core.api.AbstractFloatAssert;77import org.assertj.core.api.AbstractInputStreamAssert;78import org.assertj.core.api.AbstractInstantAssert;79import org.assertj.core.api.AbstractIntArrayAssert;80import org.assertj.core.api.AbstractIntegerAssert;81import org.assertj.core.api.AbstractLocalDateAssert;82import org.assertj.core.api.AbstractLocalDateTimeAssert;83import org.assertj.core.api.AbstractLocalTimeAssert;84import org.assertj.core.api.AbstractLongArrayAssert;85import org.assertj.core.api.AbstractLongAssert;86import org.assertj.core.api.AbstractOffsetDateTimeAssert;87import org.assertj.core.api.AbstractOffsetTimeAssert;88import org.assertj.core.api.AbstractPathAssert;89import org.assertj.core.api.AbstractPeriodAssert;90import org.assertj.core.api.AbstractShortArrayAssert;91import org.assertj.core.api.AbstractShortAssert;92import org.assertj.core.api.AbstractStringAssert;93import org.assertj.core.api.AbstractThrowableAssert;94import org.assertj.core.api.AbstractUriAssert;95import org.assertj.core.api.AbstractUrlAssert;96import org.assertj.core.api.AbstractZonedDateTimeAssert;97import org.assertj.core.api.AssertDelegateTarget;98import org.assertj.core.api.AssertFactory;99import org.assertj.core.api.AssertProvider;100import org.assertj.core.api.Assertions;101import org.assertj.core.api.AtomicBooleanAssert;102import org.assertj.core.api.AtomicIntegerArrayAssert;103import org.assertj.core.api.AtomicIntegerAssert;104import org.assertj.core.api.AtomicIntegerFieldUpdaterAssert;105import org.assertj.core.api.AtomicLongArrayAssert;106import org.assertj.core.api.AtomicLongAssert;107import org.assertj.core.api.AtomicLongFieldUpdaterAssert;108import org.assertj.core.api.AtomicMarkableReferenceAssert;109import org.assertj.core.api.AtomicReferenceArrayAssert;110import org.assertj.core.api.AtomicReferenceAssert;111import org.assertj.core.api.AtomicReferenceFieldUpdaterAssert;112import org.assertj.core.api.AtomicStampedReferenceAssert;113import org.assertj.core.api.Boolean2DArrayAssert;114import org.assertj.core.api.Byte2DArrayAssert;115import org.assertj.core.api.Char2DArrayAssert;116import org.assertj.core.api.ClassAssert;117import org.assertj.core.api.ClassBasedNavigableIterableAssert;118import org.assertj.core.api.ClassBasedNavigableListAssert;119import org.assertj.core.api.CompletableFutureAssert;120import org.assertj.core.api.Condition;121import org.assertj.core.api.Double2DArrayAssert;122import org.assertj.core.api.DoublePredicateAssert;123import org.assertj.core.api.FactoryBasedNavigableIterableAssert;124import org.assertj.core.api.FactoryBasedNavigableListAssert;125import org.assertj.core.api.Float2DArrayAssert;126import org.assertj.core.api.FutureAssert;127import org.assertj.core.api.InstanceOfAssertFactory;128import org.assertj.core.api.Int2DArrayAssert;129import org.assertj.core.api.IntPredicateAssert;130import org.assertj.core.api.IterableAssert;131import org.assertj.core.api.IteratorAssert;132import org.assertj.core.api.ListAssert;133import org.assertj.core.api.Long2DArrayAssert;134import org.assertj.core.api.LongAdderAssert;135import org.assertj.core.api.LongPredicateAssert;136import org.assertj.core.api.MapAssert;137import org.assertj.core.api.NotThrownAssert;138import org.assertj.core.api.Object2DArrayAssert;139import org.assertj.core.api.ObjectArrayAssert;140import org.assertj.core.api.ObjectAssert;141import org.assertj.core.api.OptionalAssert;142import org.assertj.core.api.OptionalDoubleAssert;143import org.assertj.core.api.OptionalIntAssert;144import org.assertj.core.api.OptionalLongAssert;145import org.assertj.core.api.PredicateAssert;146import org.assertj.core.api.Short2DArrayAssert;147import org.assertj.core.api.SpliteratorAssert;148import org.assertj.core.api.ThrowableAssert;149import org.assertj.core.api.ThrowableTypeAssert;150import org.assertj.core.api.filter.Filters;151import org.assertj.core.api.filter.InFilter;152import org.assertj.core.api.filter.NotFilter;153import org.assertj.core.api.filter.NotInFilter;154import org.assertj.core.condition.DoesNotHave;155import org.assertj.core.condition.Not;156import org.assertj.core.data.Index;157import org.assertj.core.data.MapEntry;158import org.assertj.core.data.Offset;159import org.assertj.core.data.Percentage;160import org.assertj.core.data.TemporalUnitOffset;161import org.assertj.core.description.Description;162import org.assertj.core.groups.Properties;163import org.assertj.core.groups.Tuple;164import org.assertj.core.presentation.Representation; 165/** 166 * Wrapper of static elements in org.assertj.core.api.Assertions167 * Generated by Interface-It: https://github.com/aro-tech/interface-it168 * {@link org.assertj.core.api.Assertions}169 */170public interface AssertJ {171 // CONSTANTS: 172// /** {@link org.assertj.core.api.Assertions#ARRAY} */173// static final InstanceOfAssertFactory<Object, Object> ARRAY = Assertions.ARRAY;174//175// /** {@link org.assertj.core.api.Assertions#ARRAY_2D} */176// static final InstanceOfAssertFactory<Object, Object> ARRAY_2D = Assertions.ARRAY_2D;177//178// /** {@link org.assertj.core.api.Assertions#ATOMIC_BOOLEAN} */179// static final InstanceOfAssertFactory<Object, Object> ATOMIC_BOOLEAN = Assertions.ATOMIC_BOOLEAN;180//181// /** {@link org.assertj.core.api.Assertions#ATOMIC_INTEGER} */182// static final InstanceOfAssertFactory<Object, Object> ATOMIC_INTEGER = Assertions.ATOMIC_INTEGER;183//184// /** {@link org.assertj.core.api.Assertions#ATOMIC_INTEGER_ARRAY} */185// static final InstanceOfAssertFactory<Object, Object> ATOMIC_INTEGER_ARRAY = Assertions.ATOMIC_INTEGER_ARRAY;186//187// /** {@link org.assertj.core.api.Assertions#ATOMIC_INTEGER_FIELD_UPDATER} */188// static final InstanceOfAssertFactory<Object, Object> ATOMIC_INTEGER_FIELD_UPDATER = Assertions.ATOMIC_INTEGER_FIELD_UPDATER;189//190// /** {@link org.assertj.core.api.Assertions#ATOMIC_LONG} */191// static final InstanceOfAssertFactory<Object, Object> ATOMIC_LONG = Assertions.ATOMIC_LONG;192//193// /** {@link org.assertj.core.api.Assertions#ATOMIC_LONG_ARRAY} */194// static final InstanceOfAssertFactory<Object, Object> ATOMIC_LONG_ARRAY = Assertions.ATOMIC_LONG_ARRAY;195//196// /** {@link org.assertj.core.api.Assertions#ATOMIC_LONG_FIELD_UPDATER} */197// static final InstanceOfAssertFactory<Object, Object> ATOMIC_LONG_FIELD_UPDATER = Assertions.ATOMIC_LONG_FIELD_UPDATER;198//199// /** {@link org.assertj.core.api.Assertions#ATOMIC_MARKABLE_REFERENCE} */200// static final InstanceOfAssertFactory<Object, Object> ATOMIC_MARKABLE_REFERENCE = Assertions.ATOMIC_MARKABLE_REFERENCE;201//202// /** {@link org.assertj.core.api.Assertions#ATOMIC_REFERENCE} */203// static final InstanceOfAssertFactory<Object, Object> ATOMIC_REFERENCE = Assertions.ATOMIC_REFERENCE;204//205// /** {@link org.assertj.core.api.Assertions#ATOMIC_REFERENCE_ARRAY} */206// static final InstanceOfAssertFactory<Object, Object> ATOMIC_REFERENCE_ARRAY = Assertions.ATOMIC_REFERENCE_ARRAY;207//208// /** {@link org.assertj.core.api.Assertions#ATOMIC_REFERENCE_FIELD_UPDATER} */209// static final InstanceOfAssertFactory<Object, Object> ATOMIC_REFERENCE_FIELD_UPDATER = Assertions.ATOMIC_REFERENCE_FIELD_UPDATER;210//211// /** {@link org.assertj.core.api.Assertions#ATOMIC_STAMPED_REFERENCE} */212// static final InstanceOfAssertFactory<Object, Object> ATOMIC_STAMPED_REFERENCE = Assertions.ATOMIC_STAMPED_REFERENCE;213//214// /** {@link org.assertj.core.api.Assertions#BIG_DECIMAL} */215// static final InstanceOfAssertFactory<Object, Object> BIG_DECIMAL = Assertions.BIG_DECIMAL;216//217// /** {@link org.assertj.core.api.Assertions#BIG_INTEGER} */218// static final InstanceOfAssertFactory<Object, Object> BIG_INTEGER = Assertions.BIG_INTEGER;219//220// /** {@link org.assertj.core.api.Assertions#BOOLEAN} */221// static final InstanceOfAssertFactory<Object, Object> BOOLEAN = Assertions.BOOLEAN;222//223// /** {@link org.assertj.core.api.Assertions#BOOLEAN_2D_ARRAY} */224// static final InstanceOfAssertFactory<Object, Object> BOOLEAN_2D_ARRAY = Assertions.BOOLEAN_2D_ARRAY;225//226// /** {@link org.assertj.core.api.Assertions#BOOLEAN_ARRAY} */227// static final InstanceOfAssertFactory<Object, Object> BOOLEAN_ARRAY = Assertions.BOOLEAN_ARRAY;228//229// /** {@link org.assertj.core.api.Assertions#BYTE} */230// static final InstanceOfAssertFactory<Object, Object> BYTE = Assertions.BYTE;231//232// /** {@link org.assertj.core.api.Assertions#BYTE_2D_ARRAY} */233// static final InstanceOfAssertFactory<Object, Object> BYTE_2D_ARRAY = Assertions.BYTE_2D_ARRAY;234//235// /** {@link org.assertj.core.api.Assertions#BYTE_ARRAY} */236// static final InstanceOfAssertFactory<Object, Object> BYTE_ARRAY = Assertions.BYTE_ARRAY;237//238// /** {@link org.assertj.core.api.Assertions#CHARACTER} */239// static final InstanceOfAssertFactory<Object, Object> CHARACTER = Assertions.CHARACTER;240//241// /** {@link org.assertj.core.api.Assertions#CHAR_2D_ARRAY} */242// static final InstanceOfAssertFactory<Object, Object> CHAR_2D_ARRAY = Assertions.CHAR_2D_ARRAY;243//244// /** {@link org.assertj.core.api.Assertions#CHAR_ARRAY} */245// static final InstanceOfAssertFactory<Object, Object> CHAR_ARRAY = Assertions.CHAR_ARRAY;246//247// /** {@link org.assertj.core.api.Assertions#CHAR_SEQUENCE} */248// static final InstanceOfAssertFactory<Object, Object> CHAR_SEQUENCE = Assertions.CHAR_SEQUENCE;249//250// /** {@link org.assertj.core.api.Assertions#CLASS} */251// static final InstanceOfAssertFactory<Object, Object> CLASS = Assertions.CLASS;252//253// /** {@link org.assertj.core.api.Assertions#COLLECTION} */254// static final InstanceOfAssertFactory<Object, Object> COLLECTION = Assertions.COLLECTION;255//256// /** {@link org.assertj.core.api.Assertions#COMPLETABLE_FUTURE} */257// static final InstanceOfAssertFactory<Object, Object> COMPLETABLE_FUTURE = Assertions.COMPLETABLE_FUTURE;258//259// /** {@link org.assertj.core.api.Assertions#COMPLETION_STAGE} */260// static final InstanceOfAssertFactory<Object, Object> COMPLETION_STAGE = Assertions.COMPLETION_STAGE;261//262// /** {@link org.assertj.core.api.Assertions#DATE} */263// static final InstanceOfAssertFactory<Object, Object> DATE = Assertions.DATE;264//265// /** {@link org.assertj.core.api.Assertions#DOUBLE} */266// static final InstanceOfAssertFactory<Object, Object> DOUBLE = Assertions.DOUBLE;267//268// /** {@link org.assertj.core.api.Assertions#DOUBLE_2D_ARRAY} */269// static final InstanceOfAssertFactory<Object, Object> DOUBLE_2D_ARRAY = Assertions.DOUBLE_2D_ARRAY;270//271// /** {@link org.assertj.core.api.Assertions#DOUBLE_ARRAY} */272// static final InstanceOfAssertFactory<Object, Object> DOUBLE_ARRAY = Assertions.DOUBLE_ARRAY;273//274// /** {@link org.assertj.core.api.Assertions#DOUBLE_PREDICATE} */275// static final InstanceOfAssertFactory<Object, Object> DOUBLE_PREDICATE = Assertions.DOUBLE_PREDICATE;276//277// /** {@link org.assertj.core.api.Assertions#DOUBLE_STREAM} */278// static final InstanceOfAssertFactory<Object, Object> DOUBLE_STREAM = Assertions.DOUBLE_STREAM;279//280// /** {@link org.assertj.core.api.Assertions#DURATION} */281// static final InstanceOfAssertFactory<Object, Object> DURATION = Assertions.DURATION;282//283// /** {@link org.assertj.core.api.Assertions#FILE} */284// static final InstanceOfAssertFactory<Object, Object> FILE = Assertions.FILE;285//286// /** {@link org.assertj.core.api.Assertions#FLOAT} */287// static final InstanceOfAssertFactory<Object, Object> FLOAT = Assertions.FLOAT;288//289// /** {@link org.assertj.core.api.Assertions#FLOAT_2D_ARRAY} */290// static final InstanceOfAssertFactory<Object, Object> FLOAT_2D_ARRAY = Assertions.FLOAT_2D_ARRAY;291//292// /** {@link org.assertj.core.api.Assertions#FLOAT_ARRAY} */293// static final InstanceOfAssertFactory<Object, Object> FLOAT_ARRAY = Assertions.FLOAT_ARRAY;294//295// /** {@link org.assertj.core.api.Assertions#FUTURE} */296// static final InstanceOfAssertFactory<Object, Object> FUTURE = Assertions.FUTURE;297//298// /** {@link org.assertj.core.api.Assertions#INPUT_STREAM} */299// static final InstanceOfAssertFactory<Object, Object> INPUT_STREAM = Assertions.INPUT_STREAM;300//301// /** {@link org.assertj.core.api.Assertions#INSTANT} */302// static final InstanceOfAssertFactory<Object, Object> INSTANT = Assertions.INSTANT;303//304// /** {@link org.assertj.core.api.Assertions#INTEGER} */305// static final InstanceOfAssertFactory<Object, Object> INTEGER = Assertions.INTEGER;306//307// /** {@link org.assertj.core.api.Assertions#INT_2D_ARRAY} */308// static final InstanceOfAssertFactory<Object, Object> INT_2D_ARRAY = Assertions.INT_2D_ARRAY;309//310// /** {@link org.assertj.core.api.Assertions#INT_ARRAY} */311// static final InstanceOfAssertFactory<Object, Object> INT_ARRAY = Assertions.INT_ARRAY;312//313// /** {@link org.assertj.core.api.Assertions#INT_PREDICATE} */314// static final InstanceOfAssertFactory<Object, Object> INT_PREDICATE = Assertions.INT_PREDICATE;315//316// /** {@link org.assertj.core.api.Assertions#INT_STREAM} */317// static final InstanceOfAssertFactory<Object, Object> INT_STREAM = Assertions.INT_STREAM;318//319// /** {@link org.assertj.core.api.Assertions#ITERABLE} */320// static final InstanceOfAssertFactory<Object, Object> ITERABLE = Assertions.ITERABLE;321// /** {@link org.assertj.core.api.Assertions#ITERATOR} */322// static final InstanceOfAssertFactory<Object, Object> ITERATOR = Assertions.ITERATOR;323//324// /** {@link org.assertj.core.api.Assertions#LIST} */325// static final InstanceOfAssertFactory<Object, Object> LIST = Assertions.LIST;326//327// /** {@link org.assertj.core.api.Assertions#LOCAL_DATE} */328// static final InstanceOfAssertFactory<Object, Object> LOCAL_DATE = Assertions.LOCAL_DATE;329//330// /** {@link org.assertj.core.api.Assertions#LOCAL_DATE_TIME} */331// static final InstanceOfAssertFactory<Object, Object> LOCAL_DATE_TIME = Assertions.LOCAL_DATE_TIME;332//333// /** {@link org.assertj.core.api.Assertions#LOCAL_TIME} */334// static final InstanceOfAssertFactory<Object, Object> LOCAL_TIME = Assertions.LOCAL_TIME;335//336// /** {@link org.assertj.core.api.Assertions#LONG} */337// static final InstanceOfAssertFactory<Object, Object> LONG = Assertions.LONG;338//339// /** {@link org.assertj.core.api.Assertions#LONG_2D_ARRAY} */340// static final InstanceOfAssertFactory<Object, Object> LONG_2D_ARRAY = Assertions.LONG_2D_ARRAY;341//342// /** {@link org.assertj.core.api.Assertions#LONG_ADDER} */343// static final InstanceOfAssertFactory<Object, Object> LONG_ADDER = Assertions.LONG_ADDER;344//345// /** {@link org.assertj.core.api.Assertions#LONG_ARRAY} */346// static final InstanceOfAssertFactory<Object, Object> LONG_ARRAY = Assertions.LONG_ARRAY;347//348// /** {@link org.assertj.core.api.Assertions#LONG_PREDICATE} */349// static final InstanceOfAssertFactory<Object, Object> LONG_PREDICATE = Assertions.LONG_PREDICATE;350//351// /** {@link org.assertj.core.api.Assertions#LONG_STREAM} */352// static final InstanceOfAssertFactory<Object, Object> LONG_STREAM = Assertions.LONG_STREAM;353//354// /** {@link org.assertj.core.api.Assertions#MAP} */355// static final InstanceOfAssertFactory<Object, Object> MAP = Assertions.MAP;356//357// /** {@link org.assertj.core.api.Assertions#OFFSET_DATE_TIME} */358// static final InstanceOfAssertFactory<Object, Object> OFFSET_DATE_TIME = Assertions.OFFSET_DATE_TIME;359//360// /** {@link org.assertj.core.api.Assertions#OFFSET_TIME} */361// static final InstanceOfAssertFactory<Object, Object> OFFSET_TIME = Assertions.OFFSET_TIME;362//363// /** {@link org.assertj.core.api.Assertions#OPTIONAL} */364// static final InstanceOfAssertFactory<Object, Object> OPTIONAL = Assertions.OPTIONAL;365//366// /** {@link org.assertj.core.api.Assertions#OPTIONAL_DOUBLE} */367// static final InstanceOfAssertFactory<Object, Object> OPTIONAL_DOUBLE = Assertions.OPTIONAL_DOUBLE;368//369// /** {@link org.assertj.core.api.Assertions#OPTIONAL_INT} */370// static final InstanceOfAssertFactory<Object, Object> OPTIONAL_INT = Assertions.OPTIONAL_INT;371//372// /** {@link org.assertj.core.api.Assertions#OPTIONAL_LONG} */373// static final InstanceOfAssertFactory<Object, Object> OPTIONAL_LONG = Assertions.OPTIONAL_LONG;374//375// /** {@link org.assertj.core.api.Assertions#PATH} */376// static final InstanceOfAssertFactory<Object, Object> PATH = Assertions.PATH;377//378// /** {@link org.assertj.core.api.Assertions#PERIOD} */379// static final InstanceOfAssertFactory<Object, Object> PERIOD = Assertions.PERIOD;380//381// /** {@link org.assertj.core.api.Assertions#PREDICATE} */382// static final InstanceOfAssertFactory<Object, Object> PREDICATE = Assertions.PREDICATE;383//384// /** {@link org.assertj.core.api.Assertions#SHORT} */385// static final InstanceOfAssertFactory<Object, Object> SHORT = Assertions.SHORT;386//387// /** {@link org.assertj.core.api.Assertions#SHORT_2D_ARRAY} */388// static final InstanceOfAssertFactory<Object, Object> SHORT_2D_ARRAY = Assertions.SHORT_2D_ARRAY;389//390// /** {@link org.assertj.core.api.Assertions#SHORT_ARRAY} */391// static final InstanceOfAssertFactory<Object, Object> SHORT_ARRAY = Assertions.SHORT_ARRAY;392//393// /** {@link org.assertj.core.api.Assertions#SPLITERATOR} */394// static final InstanceOfAssertFactory<Object, Object> SPLITERATOR = Assertions.SPLITERATOR;395//396// /** {@link org.assertj.core.api.Assertions#STREAM} */397// static final InstanceOfAssertFactory<Object, Object> STREAM = Assertions.STREAM;398//399// /** {@link org.assertj.core.api.Assertions#STRING} */400// static final InstanceOfAssertFactory<Object, Object> STRING = Assertions.STRING;401//402// /** {@link org.assertj.core.api.Assertions#STRING_BUFFER} */403// static final InstanceOfAssertFactory<Object, Object> STRING_BUFFER = Assertions.STRING_BUFFER;404//405// /** {@link org.assertj.core.api.Assertions#STRING_BUILDER} */406// static final InstanceOfAssertFactory<Object, Object> STRING_BUILDER = Assertions.STRING_BUILDER;407//408// /** {@link org.assertj.core.api.Assertions#THROWABLE} */409// static final InstanceOfAssertFactory<Object, Object> THROWABLE = Assertions.THROWABLE;410//411// /** {@link org.assertj.core.api.Assertions#URI_TYPE} */412// static final InstanceOfAssertFactory<Object, Object> URI_TYPE = Assertions.URI_TYPE;413//414// /** {@link org.assertj.core.api.Assertions#URL_TYPE} */415// static final InstanceOfAssertFactory<Object, Object> URL_TYPE = Assertions.URL_TYPE;416//417// /** {@link org.assertj.core.api.Assertions#ZONED_DATE_TIME} */418// static final InstanceOfAssertFactory<Object, Object> ZONED_DATE_TIME = Assertions.ZONED_DATE_TIME;419 // DELEGATE METHODS: 420 /**421 * Delegate call to public static <T> org.assertj.core.api.Condition<T> org.assertj.core.api.Assertions.allOf(org.assertj.core.api.Condition<? super T>...)422 * {@link org.assertj.core.api.Assertions#allOf(org.assertj.core.api.Condition[])}423 */424 default <T> Condition<T> allOf(Condition<? super T>... conditions) {425 return Assertions.allOf(conditions);426 }427 /**428 * Delegate call to public static <T> org.assertj.core.api.Condition<T> org.assertj.core.api.Assertions.allOf(java.lang.Iterable<? extends org.assertj.core.api.Condition<? super T>>)429 * {@link org.assertj.core.api.Assertions#allOf(java.lang.Iterable)}430 */431 default <T> Condition<T> allOf(Iterable<? extends Condition<? super T>> conditions) {432 return Assertions.allOf(conditions);433 }434 /**435 * Delegate call to public static <T> org.assertj.core.api.Condition<T> org.assertj.core.api.Assertions.anyOf(org.assertj.core.api.Condition<? super T>...)436 * {@link org.assertj.core.api.Assertions#anyOf(org.assertj.core.api.Condition[])}437 */438 default <T> Condition<T> anyOf(Condition<? super T>... conditions) {439 return Assertions.anyOf(conditions);440 }441 /**442 * Delegate call to public static <T> org.assertj.core.api.Condition<T> org.assertj.core.api.Assertions.anyOf(java.lang.Iterable<? extends org.assertj.core.api.Condition<? super T>>)443 * {@link org.assertj.core.api.Assertions#anyOf(java.lang.Iterable)}444 */445 default <T> Condition<T> anyOf(Iterable<? extends Condition<? super T>> conditions) {446 return Assertions.anyOf(conditions);447 }448 /**449 * Delegate call to public static <T,ASSERT> org.assertj.core.api.InstanceOfAssertFactory<T, ASSERT> org.assertj.core.api.Assertions.as(org.assertj.core.api.InstanceOfAssertFactory<T, ASSERT>)450 * {@link org.assertj.core.api.Assertions#as(org.assertj.core.api.InstanceOfAssertFactory)}451 */452 default <T,ASSERT extends AbstractAssert<?, ?>> InstanceOfAssertFactory<T, ASSERT> as(InstanceOfAssertFactory<T, ASSERT> assertFactory) {453 return Assertions.as(assertFactory);454 }455 /**456 * Delegate call to public static <T> T org.assertj.core.api.Assertions.assertThat(org.assertj.core.api.AssertProvider<T>)457 * {@link org.assertj.core.api.Assertions#assertThat(org.assertj.core.api.AssertProvider)}458 */459 default <T> T assertThat(AssertProvider<T> component) {460 return Assertions.assertThat(component);461 }462 /**463 * Delegate call to public static org.assertj.core.api.AtomicBooleanAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicBoolean)464 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicBoolean)}465 */466 default AtomicBooleanAssert assertThat(AtomicBoolean actual) {467 return Assertions.assertThat(actual);468 }469 /**470 * Delegate call to public static org.assertj.core.api.AtomicIntegerAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicInteger)471 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicInteger)}472 */473 default AtomicIntegerAssert assertThat(AtomicInteger actual) {474 return Assertions.assertThat(actual);475 }476 /**477 * Delegate call to public static org.assertj.core.api.AtomicIntegerArrayAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicIntegerArray)478 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicIntegerArray)}479 */480 default AtomicIntegerArrayAssert assertThat(AtomicIntegerArray actual) {481 return Assertions.assertThat(actual);482 }483 /**484 * Delegate call to public static <OBJECT> org.assertj.core.api.AtomicIntegerFieldUpdaterAssert<OBJECT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicIntegerFieldUpdater<OBJECT>)485 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicIntegerFieldUpdater)}486 */487 default <OBJECT> AtomicIntegerFieldUpdaterAssert<OBJECT> assertThat(AtomicIntegerFieldUpdater<OBJECT> actual) {488 return Assertions.assertThat(actual);489 }490 /**491 * Delegate call to public static org.assertj.core.api.AtomicLongAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicLong)492 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicLong)}493 */494 default AtomicLongAssert assertThat(AtomicLong actual) {495 return Assertions.assertThat(actual);496 }497 /**498 * Delegate call to public static org.assertj.core.api.AtomicLongArrayAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicLongArray)499 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicLongArray)}500 */501 default AtomicLongArrayAssert assertThat(AtomicLongArray actual) {502 return Assertions.assertThat(actual);503 }504 /**505 * Delegate call to public static <OBJECT> org.assertj.core.api.AtomicLongFieldUpdaterAssert<OBJECT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicLongFieldUpdater<OBJECT>)506 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicLongFieldUpdater)}507 */508 default <OBJECT> AtomicLongFieldUpdaterAssert<OBJECT> assertThat(AtomicLongFieldUpdater<OBJECT> actual) {509 return Assertions.assertThat(actual);510 }511 /**512 * Delegate call to public static <VALUE> org.assertj.core.api.AtomicMarkableReferenceAssert<VALUE> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicMarkableReference<VALUE>)513 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicMarkableReference)}514 */515 default <VALUE> AtomicMarkableReferenceAssert<VALUE> assertThat(AtomicMarkableReference<VALUE> actual) {516 return Assertions.assertThat(actual);517 }518 /**519 * Delegate call to public static <VALUE> org.assertj.core.api.AtomicReferenceAssert<VALUE> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicReference<VALUE>)520 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicReference)}521 */522 default <VALUE> AtomicReferenceAssert<VALUE> assertThat(AtomicReference<VALUE> actual) {523 return Assertions.assertThat(actual);524 }525 /**526 * Delegate call to public static <ELEMENT> org.assertj.core.api.AtomicReferenceArrayAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicReferenceArray<ELEMENT>)527 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicReferenceArray)}528 */529 default <ELEMENT> AtomicReferenceArrayAssert<ELEMENT> assertThat(AtomicReferenceArray<ELEMENT> actual) {530 return Assertions.assertThat(actual);531 }532 /**533 * Delegate call to public static <FIELD,OBJECT> org.assertj.core.api.AtomicReferenceFieldUpdaterAssert<FIELD, OBJECT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicReferenceFieldUpdater<OBJECT, FIELD>)534 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicReferenceFieldUpdater)}535 */536 default <FIELD,OBJECT> AtomicReferenceFieldUpdaterAssert<FIELD, OBJECT> assertThat(AtomicReferenceFieldUpdater<OBJECT, FIELD> actual) {537 return Assertions.assertThat(actual);538 }539 /**540 * Delegate call to public static <VALUE> org.assertj.core.api.AtomicStampedReferenceAssert<VALUE> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.AtomicStampedReference<VALUE>)541 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.AtomicStampedReference)}542 */543 default <VALUE> AtomicStampedReferenceAssert<VALUE> assertThat(AtomicStampedReference<VALUE> actual) {544 return Assertions.assertThat(actual);545 }546 /**547 * Delegate call to public static org.assertj.core.api.AbstractBigDecimalAssert<?> org.assertj.core.api.Assertions.assertThat(java.math.BigDecimal)548 * {@link org.assertj.core.api.Assertions#assertThat(java.math.BigDecimal)}549 */550 default AbstractBigDecimalAssert<?> assertThat(BigDecimal actual) {551 return Assertions.assertThat(actual);552 }553 /**554 * Delegate call to public static org.assertj.core.api.AbstractBigIntegerAssert<?> org.assertj.core.api.Assertions.assertThat(java.math.BigInteger)555 * {@link org.assertj.core.api.Assertions#assertThat(java.math.BigInteger)}556 */557 default AbstractBigIntegerAssert<?> assertThat(BigInteger actual) {558 return Assertions.assertThat(actual);559 }560 /**561 * Delegate call to public static org.assertj.core.api.AbstractBooleanAssert<?> org.assertj.core.api.Assertions.assertThat(boolean)562 * {@link org.assertj.core.api.Assertions#assertThat(boolean)}563 */564 default AbstractBooleanAssert<?> assertThat(boolean actual) {565 return Assertions.assertThat(actual);566 }567 /**568 * Delegate call to public static org.assertj.core.api.AbstractBooleanAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Boolean)569 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Boolean)}570 */571 default AbstractBooleanAssert<?> assertThat(Boolean actual) {572 return Assertions.assertThat(actual);573 }574 /**575 * Delegate call to public static org.assertj.core.api.AbstractBooleanArrayAssert<?> org.assertj.core.api.Assertions.assertThat(boolean[])576 * {@link org.assertj.core.api.Assertions#assertThat(boolean[])}577 */578 default AbstractBooleanArrayAssert<?> assertThat(boolean[] actual) {579 return Assertions.assertThat(actual);580 }581 /**582 * Delegate call to public static org.assertj.core.api.Boolean2DArrayAssert org.assertj.core.api.Assertions.assertThat(boolean[][])583 * {@link org.assertj.core.api.Assertions#assertThat(boolean[][])}584 */585 default Boolean2DArrayAssert assertThat(boolean[][] actual) {586 return Assertions.assertThat(actual);587 }588 /**589 * Delegate call to public static org.assertj.core.api.AbstractByteAssert<?> org.assertj.core.api.Assertions.assertThat(byte)590 * {@link org.assertj.core.api.Assertions#assertThat(byte)}591 */592 default AbstractByteAssert<?> assertThat(byte actual) {593 return Assertions.assertThat(actual);594 }595 /**596 * Delegate call to public static org.assertj.core.api.AbstractByteAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Byte)597 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Byte)}598 */599 default AbstractByteAssert<?> assertThat(Byte actual) {600 return Assertions.assertThat(actual);601 }602 /**603 * Delegate call to public static org.assertj.core.api.AbstractByteArrayAssert<?> org.assertj.core.api.Assertions.assertThat(byte[])604 * {@link org.assertj.core.api.Assertions#assertThat(byte[])}605 */606 default AbstractByteArrayAssert<?> assertThat(byte[] actual) {607 return Assertions.assertThat(actual);608 }609 /**610 * Delegate call to public static org.assertj.core.api.Byte2DArrayAssert org.assertj.core.api.Assertions.assertThat(byte[][])611 * {@link org.assertj.core.api.Assertions#assertThat(byte[][])}612 */613 default Byte2DArrayAssert assertThat(byte[][] actual) {614 return Assertions.assertThat(actual);615 }616 /**617 * Delegate call to public static org.assertj.core.api.AbstractCharacterAssert<?> org.assertj.core.api.Assertions.assertThat(char)618 * {@link org.assertj.core.api.Assertions#assertThat(char)}619 */620 default AbstractCharacterAssert<?> assertThat(char actual) {621 return Assertions.assertThat(actual);622 }623 /**624 * Delegate call to public static org.assertj.core.api.AbstractCharArrayAssert<?> org.assertj.core.api.Assertions.assertThat(char[])625 * {@link org.assertj.core.api.Assertions#assertThat(char[])}626 */627 default AbstractCharArrayAssert<?> assertThat(char[] actual) {628 return Assertions.assertThat(actual);629 }630 /**631 * Delegate call to public static org.assertj.core.api.Char2DArrayAssert org.assertj.core.api.Assertions.assertThat(char[][])632 * {@link org.assertj.core.api.Assertions#assertThat(char[][])}633 */634 default Char2DArrayAssert assertThat(char[][] actual) {635 return Assertions.assertThat(actual);636 }637 /**638 * Delegate call to public static org.assertj.core.api.AbstractCharacterAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Character)639 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Character)}640 */641 default AbstractCharacterAssert<?> assertThat(Character actual) {642 return Assertions.assertThat(actual);643 }644 /**645 * Delegate call to public static org.assertj.core.api.AbstractCharSequenceAssert<?, ? extends java.lang.CharSequence> org.assertj.core.api.Assertions.assertThat(java.lang.CharSequence)646 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.CharSequence)}647 */648 default AbstractCharSequenceAssert<?, ? extends CharSequence> assertThat(CharSequence actual) {649 return Assertions.assertThat(actual);650 }651 /**652 * Delegate call to public static org.assertj.core.api.ClassAssert org.assertj.core.api.Assertions.assertThat(java.lang.Class<?>)653 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Class)}654 */655 default ClassAssert assertThat(Class<?> actual) {656 return Assertions.assertThat(actual);657 }658 /**659 * Delegate call to public static <E> org.assertj.core.api.AbstractCollectionAssert<?, java.util.Collection<? extends E>, E, org.assertj.core.api.ObjectAssert<E>> org.assertj.core.api.Assertions.assertThat(java.util.Collection<? extends E>)660 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Collection)}661 */662 default <E> AbstractCollectionAssert<?, Collection<? extends E>, E, ObjectAssert<E>> assertThat(Collection<? extends E> actual) {663 return Assertions.assertThat(actual);664 }665 /**666 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletableFuture<RESULT>)667 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletableFuture)}668 */669 default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletableFuture<RESULT> actual) {670 return Assertions.assertThat(actual);671 }672 /**673 * Delegate call to public static <RESULT> org.assertj.core.api.CompletableFutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.CompletionStage<RESULT>)674 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.CompletionStage)}675 */676 default <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletionStage<RESULT> actual) {677 return Assertions.assertThat(actual);678 }679 /**680 * Delegate call to public static org.assertj.core.api.AbstractDateAssert<?> org.assertj.core.api.Assertions.assertThat(java.util.Date)681 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Date)}682 */683 default AbstractDateAssert<?> assertThat(Date actual) {684 return Assertions.assertThat(actual);685 }686 /**687 * Delegate call to public static org.assertj.core.api.AbstractDoubleAssert<?> org.assertj.core.api.Assertions.assertThat(double)688 * {@link org.assertj.core.api.Assertions#assertThat(double)}689 */690 default AbstractDoubleAssert<?> assertThat(double actual) {691 return Assertions.assertThat(actual);692 }693 /**694 * Delegate call to public static org.assertj.core.api.AbstractDoubleAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Double)695 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Double)}696 */697 default AbstractDoubleAssert<?> assertThat(Double actual) {698 return Assertions.assertThat(actual);699 }700 /**701 * Delegate call to public static org.assertj.core.api.AbstractDoubleArrayAssert<?> org.assertj.core.api.Assertions.assertThat(double[])702 * {@link org.assertj.core.api.Assertions#assertThat(double[])}703 */704 default AbstractDoubleArrayAssert<?> assertThat(double[] actual) {705 return Assertions.assertThat(actual);706 }707 /**708 * Delegate call to public static org.assertj.core.api.Double2DArrayAssert org.assertj.core.api.Assertions.assertThat(double[][])709 * {@link org.assertj.core.api.Assertions#assertThat(double[][])}710 */711 default Double2DArrayAssert assertThat(double[][] actual) {712 return Assertions.assertThat(actual);713 }714 /**715 * Delegate call to public static org.assertj.core.api.DoublePredicateAssert org.assertj.core.api.Assertions.assertThat(java.util.function.DoublePredicate)716 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.DoublePredicate)}717 */718 default DoublePredicateAssert assertThat(DoublePredicate actual) {719 return Assertions.assertThat(actual);720 }721 /**722 * Delegate call to public static org.assertj.core.api.ListAssert<java.lang.Double> org.assertj.core.api.Assertions.assertThat(java.util.stream.DoubleStream)723 * {@link org.assertj.core.api.Assertions#assertThat(java.util.stream.DoubleStream)}724 */725 default ListAssert<Double> assertThat(DoubleStream actual) {726 return Assertions.assertThat(actual);727 }728 /**729 * Delegate call to public static org.assertj.core.api.AbstractDurationAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.Duration)730 * {@link org.assertj.core.api.Assertions#assertThat(java.time.Duration)}731 */732 default AbstractDurationAssert<?> assertThat(Duration actual) {733 return Assertions.assertThat(actual);734 }735 /**736 * Delegate call to public static org.assertj.core.api.AbstractFileAssert<?> org.assertj.core.api.Assertions.assertThat(java.io.File)737 * {@link org.assertj.core.api.Assertions#assertThat(java.io.File)}738 */739 default AbstractFileAssert<?> assertThat(File actual) {740 return Assertions.assertThat(actual);741 }742 /**743 * Delegate call to public static org.assertj.core.api.AbstractFloatAssert<?> org.assertj.core.api.Assertions.assertThat(float)744 * {@link org.assertj.core.api.Assertions#assertThat(float)}745 */746 default AbstractFloatAssert<?> assertThat(float actual) {747 return Assertions.assertThat(actual);748 }749 /**750 * Delegate call to public static org.assertj.core.api.AbstractFloatAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Float)751 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Float)}752 */753 default AbstractFloatAssert<?> assertThat(Float actual) {754 return Assertions.assertThat(actual);755 }756 /**757 * Delegate call to public static org.assertj.core.api.AbstractFloatArrayAssert<?> org.assertj.core.api.Assertions.assertThat(float[])758 * {@link org.assertj.core.api.Assertions#assertThat(float[])}759 */760 default AbstractFloatArrayAssert<?> assertThat(float[] actual) {761 return Assertions.assertThat(actual);762 }763 /**764 * Delegate call to public static org.assertj.core.api.Float2DArrayAssert org.assertj.core.api.Assertions.assertThat(float[][])765 * {@link org.assertj.core.api.Assertions#assertThat(float[][])}766 */767 default Float2DArrayAssert assertThat(float[][] actual) {768 return Assertions.assertThat(actual);769 }770 /**771 * Delegate call to public static <RESULT> org.assertj.core.api.FutureAssert<RESULT> org.assertj.core.api.Assertions.assertThat(java.util.concurrent.Future<RESULT>)772 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.Future)}773 */774 default <RESULT> FutureAssert<RESULT> assertThat(Future<RESULT> actual) {775 return Assertions.assertThat(actual);776 }777 /**778 * Delegate call to public static org.assertj.core.api.AbstractInputStreamAssert<?, ? extends java.io.InputStream> org.assertj.core.api.Assertions.assertThat(java.io.InputStream)779 * {@link org.assertj.core.api.Assertions#assertThat(java.io.InputStream)}780 */781 default AbstractInputStreamAssert<?, ? extends InputStream> assertThat(InputStream actual) {782 return Assertions.assertThat(actual);783 }784 /**785 * Delegate call to public static org.assertj.core.api.AbstractInstantAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.Instant)786 * {@link org.assertj.core.api.Assertions#assertThat(java.time.Instant)}787 */788 default AbstractInstantAssert<?> assertThat(Instant actual) {789 return Assertions.assertThat(actual);790 }791 /**792 * Delegate call to public static org.assertj.core.api.AbstractIntegerAssert<?> org.assertj.core.api.Assertions.assertThat(int)793 * {@link org.assertj.core.api.Assertions#assertThat(int)}794 */795 default AbstractIntegerAssert<?> assertThat(int actual) {796 return Assertions.assertThat(actual);797 }798 /**799 * Delegate call to public static org.assertj.core.api.AbstractIntArrayAssert<?> org.assertj.core.api.Assertions.assertThat(int[])800 * {@link org.assertj.core.api.Assertions#assertThat(int[])}801 */802 default AbstractIntArrayAssert<?> assertThat(int[] actual) {803 return Assertions.assertThat(actual);804 }805 /**806 * Delegate call to public static org.assertj.core.api.Int2DArrayAssert org.assertj.core.api.Assertions.assertThat(int[][])807 * {@link org.assertj.core.api.Assertions#assertThat(int[][])}808 */809 default Int2DArrayAssert assertThat(int[][] actual) {810 return Assertions.assertThat(actual);811 }812 /**813 * Delegate call to public static org.assertj.core.api.AbstractIntegerAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Integer)814 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Integer)}815 */816 default AbstractIntegerAssert<?> assertThat(Integer actual) {817 return Assertions.assertThat(actual);818 }819 /**820 * Delegate call to public static org.assertj.core.api.IntPredicateAssert org.assertj.core.api.Assertions.assertThat(java.util.function.IntPredicate)821 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.IntPredicate)}822 */823 default IntPredicateAssert assertThat(IntPredicate actual) {824 return Assertions.assertThat(actual);825 }826 /**827 * Delegate call to public static org.assertj.core.api.ListAssert<java.lang.Integer> org.assertj.core.api.Assertions.assertThat(java.util.stream.IntStream)828 * {@link org.assertj.core.api.Assertions#assertThat(java.util.stream.IntStream)}829 */830 default ListAssert<Integer> assertThat(IntStream actual) {831 return Assertions.assertThat(actual);832 }833 /**834 * Delegate call to public static <ELEMENT> org.assertj.core.api.IterableAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.lang.Iterable<? extends ELEMENT>)835 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Iterable)}836 */837 default <ELEMENT> IterableAssert<ELEMENT> assertThat(Iterable<? extends ELEMENT> actual) {838 return Assertions.assertThat(actual);839 }840 /**841 * Delegate call to public static <ELEMENT> org.assertj.core.api.IteratorAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.util.Iterator<? extends ELEMENT>)842 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Iterator)}843 */844 default <ELEMENT> IteratorAssert<ELEMENT> assertThat(Iterator<? extends ELEMENT> actual) {845 return Assertions.assertThat(actual);846 }847 /**848 * Delegate call to public static <ELEMENT> org.assertj.core.api.ListAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.util.List<? extends ELEMENT>)849 * {@link org.assertj.core.api.Assertions#assertThat(java.util.List)}850 */851 default <ELEMENT> ListAssert<ELEMENT> assertThat(List<? extends ELEMENT> actual) {852 return Assertions.assertThat(actual);853 }854 /**855 * Delegate call to public static org.assertj.core.api.AbstractLocalDateAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.LocalDate)856 * {@link org.assertj.core.api.Assertions#assertThat(java.time.LocalDate)}857 */858 default AbstractLocalDateAssert<?> assertThat(LocalDate actual) {859 return Assertions.assertThat(actual);860 }861 /**862 * Delegate call to public static org.assertj.core.api.AbstractLocalDateTimeAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.LocalDateTime)863 * {@link org.assertj.core.api.Assertions#assertThat(java.time.LocalDateTime)}864 */865 default AbstractLocalDateTimeAssert<?> assertThat(LocalDateTime actual) {866 return Assertions.assertThat(actual);867 }868 /**869 * Delegate call to public static org.assertj.core.api.AbstractLocalTimeAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.LocalTime)870 * {@link org.assertj.core.api.Assertions#assertThat(java.time.LocalTime)}871 */872 default AbstractLocalTimeAssert<?> assertThat(LocalTime actual) {873 return Assertions.assertThat(actual);874 }875 /**876 * Delegate call to public static org.assertj.core.api.AbstractLongAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Long)877 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Long)}878 */879 default AbstractLongAssert<?> assertThat(Long actual) {880 return Assertions.assertThat(actual);881 }882 /**883 * Delegate call to public static org.assertj.core.api.AbstractLongAssert<?> org.assertj.core.api.Assertions.assertThat(long)884 * {@link org.assertj.core.api.Assertions#assertThat(long)}885 */886 default AbstractLongAssert<?> assertThat(long actual) {887 return Assertions.assertThat(actual);888 }889 /**890 * Delegate call to public static org.assertj.core.api.AbstractLongArrayAssert<?> org.assertj.core.api.Assertions.assertThat(long[])891 * {@link org.assertj.core.api.Assertions#assertThat(long[])}892 */893 default AbstractLongArrayAssert<?> assertThat(long[] actual) {894 return Assertions.assertThat(actual);895 }896 /**897 * Delegate call to public static org.assertj.core.api.Long2DArrayAssert org.assertj.core.api.Assertions.assertThat(long[][])898 * {@link org.assertj.core.api.Assertions#assertThat(long[][])}899 */900 default Long2DArrayAssert assertThat(long[][] actual) {901 return Assertions.assertThat(actual);902 }903 /**904 * Delegate call to public static org.assertj.core.api.LongAdderAssert org.assertj.core.api.Assertions.assertThat(java.util.concurrent.atomic.LongAdder)905 * {@link org.assertj.core.api.Assertions#assertThat(java.util.concurrent.atomic.LongAdder)}906 */907 default LongAdderAssert assertThat(LongAdder actual) {908 return Assertions.assertThat(actual);909 }910 /**911 * Delegate call to public static org.assertj.core.api.LongPredicateAssert org.assertj.core.api.Assertions.assertThat(java.util.function.LongPredicate)912 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.LongPredicate)}913 */914 default LongPredicateAssert assertThat(LongPredicate actual) {915 return Assertions.assertThat(actual);916 }917 /**918 * Delegate call to public static org.assertj.core.api.ListAssert<java.lang.Long> org.assertj.core.api.Assertions.assertThat(java.util.stream.LongStream)919 * {@link org.assertj.core.api.Assertions#assertThat(java.util.stream.LongStream)}920 */921 default ListAssert<Long> assertThat(LongStream actual) {922 return Assertions.assertThat(actual);923 }924 /**925 * Delegate call to public static <K,V> org.assertj.core.api.MapAssert<K, V> org.assertj.core.api.Assertions.assertThat(java.util.Map<K, V>)926 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Map)}927 */928 default <K,V> MapAssert<K, V> assertThat(Map<K, V> actual) {929 return Assertions.assertThat(actual);930 }931 /**932 * Delegate call to public static org.assertj.core.api.AbstractOffsetDateTimeAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.OffsetDateTime)933 * {@link org.assertj.core.api.Assertions#assertThat(java.time.OffsetDateTime)}934 */935 default AbstractOffsetDateTimeAssert<?> assertThat(OffsetDateTime actual) {936 return Assertions.assertThat(actual);937 }938 /**939 * Delegate call to public static org.assertj.core.api.AbstractOffsetTimeAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.OffsetTime)940 * {@link org.assertj.core.api.Assertions#assertThat(java.time.OffsetTime)}941 */942 default AbstractOffsetTimeAssert<?> assertThat(OffsetTime actual) {943 return Assertions.assertThat(actual);944 }945 /**946 * Delegate call to public static <VALUE> org.assertj.core.api.OptionalAssert<VALUE> org.assertj.core.api.Assertions.assertThat(java.util.Optional<VALUE>)947 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Optional)}948 */949 default <VALUE> OptionalAssert<VALUE> assertThat(Optional<VALUE> actual) {950 return Assertions.assertThat(actual);951 }952 /**953 * Delegate call to public static org.assertj.core.api.OptionalDoubleAssert org.assertj.core.api.Assertions.assertThat(java.util.OptionalDouble)954 * {@link org.assertj.core.api.Assertions#assertThat(java.util.OptionalDouble)}955 */956 default OptionalDoubleAssert assertThat(OptionalDouble actual) {957 return Assertions.assertThat(actual);958 }959 /**960 * Delegate call to public static org.assertj.core.api.OptionalIntAssert org.assertj.core.api.Assertions.assertThat(java.util.OptionalInt)961 * {@link org.assertj.core.api.Assertions#assertThat(java.util.OptionalInt)}962 */963 default OptionalIntAssert assertThat(OptionalInt actual) {964 return Assertions.assertThat(actual);965 }966 /**967 * Delegate call to public static org.assertj.core.api.OptionalLongAssert org.assertj.core.api.Assertions.assertThat(java.util.OptionalLong)968 * {@link org.assertj.core.api.Assertions#assertThat(java.util.OptionalLong)}969 */970 default OptionalLongAssert assertThat(OptionalLong actual) {971 return Assertions.assertThat(actual);972 }973 /**974 * Delegate call to public static org.assertj.core.api.AbstractPathAssert<?> org.assertj.core.api.Assertions.assertThat(java.nio.file.Path)975 * {@link org.assertj.core.api.Assertions#assertThat(java.nio.file.Path)}976 */977 default AbstractPathAssert<?> assertThat(Path actual) {978 return Assertions.assertThat(actual);979 }980 /**981 * Delegate call to public static org.assertj.core.api.AbstractPeriodAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.Period)982 * {@link org.assertj.core.api.Assertions#assertThat(java.time.Period)}983 */984 default AbstractPeriodAssert<?> assertThat(Period actual) {985 return Assertions.assertThat(actual);986 }987 /**988 * Delegate call to public static <T> org.assertj.core.api.PredicateAssert<T> org.assertj.core.api.Assertions.assertThat(java.util.function.Predicate<T>)989 * {@link org.assertj.core.api.Assertions#assertThat(java.util.function.Predicate)}990 */991 default <T> PredicateAssert<T> assertThat(Predicate<T> actual) {992 return Assertions.assertThat(actual);993 }994 /**995 * Delegate call to public static org.assertj.core.api.AbstractShortAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.Short)996 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Short)}997 */998 default AbstractShortAssert<?> assertThat(Short actual) {999 return Assertions.assertThat(actual);1000 }1001 /**1002 * Delegate call to public static org.assertj.core.api.AbstractShortAssert<?> org.assertj.core.api.Assertions.assertThat(short)1003 * {@link org.assertj.core.api.Assertions#assertThat(short)}1004 */1005 default AbstractShortAssert<?> assertThat(short actual) {1006 return Assertions.assertThat(actual);1007 }1008 /**1009 * Delegate call to public static org.assertj.core.api.AbstractShortArrayAssert<?> org.assertj.core.api.Assertions.assertThat(short[])1010 * {@link org.assertj.core.api.Assertions#assertThat(short[])}1011 */1012 default AbstractShortArrayAssert<?> assertThat(short[] actual) {1013 return Assertions.assertThat(actual);1014 }1015 /**1016 * Delegate call to public static org.assertj.core.api.Short2DArrayAssert org.assertj.core.api.Assertions.assertThat(short[][])1017 * {@link org.assertj.core.api.Assertions#assertThat(short[][])}1018 */1019 default Short2DArrayAssert assertThat(short[][] actual) {1020 return Assertions.assertThat(actual);1021 }1022 /**1023 * Delegate call to public static <ELEMENT> org.assertj.core.api.SpliteratorAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.util.Spliterator<ELEMENT>)1024 * {@link org.assertj.core.api.Assertions#assertThat(java.util.Spliterator)}1025 */1026 default <ELEMENT> SpliteratorAssert<ELEMENT> assertThat(Spliterator<ELEMENT> actual) {1027 return Assertions.assertThat(actual);1028 }1029 /**1030 * Delegate call to public static <ELEMENT> org.assertj.core.api.ListAssert<ELEMENT> org.assertj.core.api.Assertions.assertThat(java.util.stream.Stream<? extends ELEMENT>)1031 * {@link org.assertj.core.api.Assertions#assertThat(java.util.stream.Stream)}1032 */1033 default <ELEMENT> ListAssert<ELEMENT> assertThat(Stream<? extends ELEMENT> actual) {1034 return Assertions.assertThat(actual);1035 }1036 /**1037 * Delegate call to public static org.assertj.core.api.AbstractStringAssert<?> org.assertj.core.api.Assertions.assertThat(java.lang.String)1038 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.String)}1039 */1040 default AbstractStringAssert<?> assertThat(String actual) {1041 return Assertions.assertThat(actual);1042 }1043 /**1044 * Delegate call to public static org.assertj.core.api.AbstractCharSequenceAssert<?, ? extends java.lang.CharSequence> org.assertj.core.api.Assertions.assertThat(java.lang.StringBuffer)1045 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.StringBuffer)}1046 */1047 default AbstractCharSequenceAssert<?, ? extends CharSequence> assertThat(StringBuffer actual) {1048 return Assertions.assertThat(actual);1049 }1050 /**1051 * Delegate call to public static org.assertj.core.api.AbstractCharSequenceAssert<?, ? extends java.lang.CharSequence> org.assertj.core.api.Assertions.assertThat(java.lang.StringBuilder)1052 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.StringBuilder)}1053 */1054 default AbstractCharSequenceAssert<?, ? extends CharSequence> assertThat(StringBuilder actual) {1055 return Assertions.assertThat(actual);1056 }1057 /**1058 * Delegate call to public static <T> T org.assertj.core.api.Assertions.assertThat(T)1059 * {@link org.assertj.core.api.Assertions#assertThat(org.assertj.core.api.AssertDelegateTarget)}1060 */1061 default <T extends AssertDelegateTarget> T assertThat(T assertion) {1062 return Assertions.assertThat(assertion);1063 }1064 /**1065 * Delegate call to public static <T> org.assertj.core.api.AbstractComparableAssert<?, T> org.assertj.core.api.Assertions.assertThat(T)1066 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Comparable)}1067 */1068 default <T extends Comparable<? super T>> AbstractComparableAssert<?, T> assertThat(T assertion) {1069 return Assertions.assertThat(assertion);1070 }1071 /**1072 * Delegate call to public static <T> org.assertj.core.api.AbstractThrowableAssert<?, T> org.assertj.core.api.Assertions.assertThat(T)1073 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Throwable)}1074 */1075 default <T extends Throwable> AbstractThrowableAssert<?, T> assertThat(T assertion) {1076 return Assertions.assertThat(assertion);1077 }1078 /**1079 * Delegate call to public static <T> org.assertj.core.api.ObjectAssert<T> org.assertj.core.api.Assertions.assertThat(T)1080 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Object)}1081 */1082 default <T> ObjectAssert<T> assertThat(T assertion) {1083 return Assertions.assertThat(assertion);1084 }1085 /**1086 * Delegate call to public static <T> org.assertj.core.api.ObjectArrayAssert<T> org.assertj.core.api.Assertions.assertThat(T[])1087 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Object[])}1088 */1089 default <T> ObjectArrayAssert<T> assertThat(T[] actual) {1090 return Assertions.assertThat(actual);1091 }1092 /**1093 * Delegate call to public static <T> org.assertj.core.api.Object2DArrayAssert<T> org.assertj.core.api.Assertions.assertThat(T[][])1094 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Object[][])}1095 */1096 default <T> Object2DArrayAssert<T> assertThat(T[][] actual) {1097 return Assertions.assertThat(actual);1098 }1099 /**1100 * Delegate call to public static org.assertj.core.api.AbstractUriAssert<?> org.assertj.core.api.Assertions.assertThat(java.net.URI)1101 * {@link org.assertj.core.api.Assertions#assertThat(java.net.URI)}1102 */1103 default AbstractUriAssert<?> assertThat(URI actual) {1104 return Assertions.assertThat(actual);1105 }1106 /**1107 * Delegate call to public static org.assertj.core.api.AbstractUrlAssert<?> org.assertj.core.api.Assertions.assertThat(java.net.URL)1108 * {@link org.assertj.core.api.Assertions#assertThat(java.net.URL)}1109 */1110 default AbstractUrlAssert<?> assertThat(URL actual) {1111 return Assertions.assertThat(actual);1112 }1113 /**1114 * Delegate call to public static org.assertj.core.api.AbstractZonedDateTimeAssert<?> org.assertj.core.api.Assertions.assertThat(java.time.ZonedDateTime)1115 * {@link org.assertj.core.api.Assertions#assertThat(java.time.ZonedDateTime)}1116 */1117 default AbstractZonedDateTimeAssert<?> assertThat(ZonedDateTime actual) {1118 return Assertions.assertThat(actual);1119 }1120 /**1121 * Delegate call to public static <ACTUAL,ELEMENT,ELEMENT_ASSERT> org.assertj.core.api.ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> org.assertj.core.api.Assertions.assertThat(ACTUAL,java.lang.Class<ELEMENT_ASSERT>)1122 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Iterable,java.lang.Class)}1123 */1124 default <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> ClassBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> assertThat(ACTUAL arg0, Class<ELEMENT_ASSERT> arg1) {1125 return Assertions.assertThat(arg0, arg1);1126 }1127 /**1128 * Delegate call to public static <ACTUAL,ELEMENT,ELEMENT_ASSERT> org.assertj.core.api.FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> org.assertj.core.api.Assertions.assertThat(java.lang.Iterable<? extends ELEMENT>,org.assertj.core.api.AssertFactory<ELEMENT, ELEMENT_ASSERT>)1129 * {@link org.assertj.core.api.Assertions#assertThat(java.lang.Iterable,org.assertj.core.api.AssertFactory)}1130 */1131 default <ACTUAL extends Iterable<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> FactoryBasedNavigableIterableAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> assertThat(Iterable<? extends ELEMENT> arg0, AssertFactory<ELEMENT, ELEMENT_ASSERT> arg1) {1132 return Assertions.assertThat(arg0, arg1);1133 }1134 /**1135 * Delegate call to public static <ACTUAL,ELEMENT,ELEMENT_ASSERT> org.assertj.core.api.FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> org.assertj.core.api.Assertions.assertThat(java.util.List<? extends ELEMENT>,org.assertj.core.api.AssertFactory<ELEMENT, ELEMENT_ASSERT>)1136 * {@link org.assertj.core.api.Assertions#assertThat(java.util.List,org.assertj.core.api.AssertFactory)}1137 */1138 default <ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> FactoryBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> assertThat(List<? extends ELEMENT> arg0, AssertFactory<ELEMENT, ELEMENT_ASSERT> arg1) {1139 return Assertions.assertThat(arg0, arg1);1140 }1141 /**1142 * Delegate call to public static <ELEMENT,ACTUAL,ELEMENT_ASSERT> org.assertj.core.api.ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> org.assertj.core.api.Assertions.assertThat(java.util.List<? extends ELEMENT>,java.lang.Class<ELEMENT_ASSERT>)1143 * {@link org.assertj.core.api.Assertions#assertThat(java.util.List,java.lang.Class)}1144 */1145 default <ELEMENT,ACTUAL extends List<? extends ELEMENT>,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT, ELEMENT>> ClassBasedNavigableListAssert<?, ACTUAL, ELEMENT, ELEMENT_ASSERT> assertThat(List<? extends ELEMENT> arg0, Class<ELEMENT_ASSERT> arg1) {1146 return Assertions.assertThat(arg0, arg1);1147 }1148 /**1149 * Delegate call to public static org.assertj.core.api.AbstractThrowableAssert<?, ? extends java.lang.Throwable> org.assertj.core.api.Assertions.assertThatCode(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1150 * {@link org.assertj.core.api.Assertions#assertThatCode(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1151 */1152 default AbstractThrowableAssert<?, ? extends Throwable> assertThatCode(ThrowableAssert.ThrowingCallable shouldRaiseOrNotThrowable) {1153 return Assertions.assertThatCode(shouldRaiseOrNotThrowable);1154 }1155 /**1156 * Delegate call to public static <T> org.assertj.core.api.ThrowableTypeAssert<T> org.assertj.core.api.Assertions.assertThatExceptionOfType(java.lang.Class<? extends T>)1157 * {@link org.assertj.core.api.Assertions#assertThatExceptionOfType(java.lang.Class)}1158 */1159 default <T extends Throwable> ThrowableTypeAssert<T> assertThatExceptionOfType(Class<? extends T> exceptionType) {1160 return Assertions.assertThatExceptionOfType(exceptionType);1161 }1162 /**1163 * Delegate call to public static org.assertj.core.api.ThrowableTypeAssert<java.io.IOException> org.assertj.core.api.Assertions.assertThatIOException()1164 * {@link org.assertj.core.api.Assertions#assertThatIOException()}1165 */1166 default ThrowableTypeAssert<IOException> assertThatIOException() {1167 return Assertions.assertThatIOException();1168 }1169 /**1170 * Delegate call to public static org.assertj.core.api.ThrowableTypeAssert<java.lang.IllegalArgumentException> org.assertj.core.api.Assertions.assertThatIllegalArgumentException()1171 * {@link org.assertj.core.api.Assertions#assertThatIllegalArgumentException()}1172 */1173 default ThrowableTypeAssert<IllegalArgumentException> assertThatIllegalArgumentException() {1174 return Assertions.assertThatIllegalArgumentException();1175 }1176 /**1177 * Delegate call to public static org.assertj.core.api.ThrowableTypeAssert<java.lang.IllegalStateException> org.assertj.core.api.Assertions.assertThatIllegalStateException()1178 * {@link org.assertj.core.api.Assertions#assertThatIllegalStateException()}1179 */1180 default ThrowableTypeAssert<IllegalStateException> assertThatIllegalStateException() {1181 return Assertions.assertThatIllegalStateException();1182 }1183 /**1184 * Delegate call to public static org.assertj.core.api.NotThrownAssert org.assertj.core.api.Assertions.assertThatNoException()1185 * {@link org.assertj.core.api.Assertions#assertThatNoException()}1186 */1187 default NotThrownAssert assertThatNoException() {1188 return Assertions.assertThatNoException();1189 }1190 /**1191 * Delegate call to public static org.assertj.core.api.ThrowableTypeAssert<java.lang.NullPointerException> org.assertj.core.api.Assertions.assertThatNullPointerException()1192 * {@link org.assertj.core.api.Assertions#assertThatNullPointerException()}1193 */1194 default ThrowableTypeAssert<NullPointerException> assertThatNullPointerException() {1195 return Assertions.assertThatNullPointerException();1196 }1197 /**1198 * Delegate call to public static <T> org.assertj.core.api.ObjectAssert<T> org.assertj.core.api.Assertions.assertThatObject(T)1199 * {@link org.assertj.core.api.Assertions#assertThatObject(java.lang.Object)}1200 */1201 default <T> ObjectAssert<T> assertThatObject(T actual) {1202 return Assertions.assertThatObject(actual);1203 }1204 /**1205 * Delegate call to public static org.assertj.core.api.AbstractThrowableAssert<?, ? extends java.lang.Throwable> org.assertj.core.api.Assertions.assertThatThrownBy(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1206 * {@link org.assertj.core.api.Assertions#assertThatThrownBy(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1207 */1208 default AbstractThrowableAssert<?, ? extends Throwable> assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) {1209 return Assertions.assertThatThrownBy(shouldRaiseThrowable);1210 }1211 /**1212 * Delegate call to public static org.assertj.core.api.AbstractThrowableAssert<?, ? extends java.lang.Throwable> org.assertj.core.api.Assertions.assertThatThrownBy(org.assertj.core.api.ThrowableAssert$ThrowingCallable,java.lang.String,java.lang.Object...)1213 * {@link org.assertj.core.api.Assertions#assertThatThrownBy(org.assertj.core.api.ThrowableAssert$ThrowingCallable,java.lang.String,java.lang.Object[])}1214 */1215 default AbstractThrowableAssert<?, ? extends Throwable> assertThatThrownBy(ThrowableAssert.ThrowingCallable shouldRaiseThrowable, String description, Object... args) {1216 return Assertions.assertThatThrownBy(shouldRaiseThrowable, description, args);1217 }1218 /**1219 * Delegate call to public static <T> org.assertj.core.api.ObjectAssert<T> org.assertj.core.api.Assertions.assertWith(T,java.util.function.Consumer<T>...)1220 * {@link org.assertj.core.api.Assertions#assertWith(java.lang.Object,java.util.function.Consumer[])}1221 */1222 default <T> ObjectAssert<T> assertWith(T actual, Consumer<T>... requirements) {1223 return Assertions.assertWith(actual, requirements);1224 }1225 /**1226 * Delegate call to public static org.assertj.core.data.Index org.assertj.core.api.Assertions.atIndex(int)1227 * {@link org.assertj.core.api.Assertions#atIndex(int)}1228 */1229 default Index atIndex(int index) {1230 return Assertions.atIndex(index);1231 }1232 /**1233 * Delegate call to public static org.assertj.core.data.Offset<java.math.BigDecimal> org.assertj.core.api.Assertions.byLessThan(java.math.BigDecimal)1234 * {@link org.assertj.core.api.Assertions#byLessThan(java.math.BigDecimal)}1235 */1236 default Offset<BigDecimal> byLessThan(BigDecimal value) {1237 return Assertions.byLessThan(value);1238 }1239 /**1240 * Delegate call to public static org.assertj.core.data.Offset<java.math.BigInteger> org.assertj.core.api.Assertions.byLessThan(java.math.BigInteger)1241 * {@link org.assertj.core.api.Assertions#byLessThan(java.math.BigInteger)}1242 */1243 default Offset<BigInteger> byLessThan(BigInteger value) {1244 return Assertions.byLessThan(value);1245 }1246 /**1247 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Byte> org.assertj.core.api.Assertions.byLessThan(java.lang.Byte)1248 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Byte)}1249 */1250 default Offset<Byte> byLessThan(Byte value) {1251 return Assertions.byLessThan(value);1252 }1253 /**1254 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Double> org.assertj.core.api.Assertions.byLessThan(java.lang.Double)1255 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Double)}1256 */1257 default Offset<Double> byLessThan(Double value) {1258 return Assertions.byLessThan(value);1259 }1260 /**1261 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Float> org.assertj.core.api.Assertions.byLessThan(java.lang.Float)1262 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Float)}1263 */1264 default Offset<Float> byLessThan(Float value) {1265 return Assertions.byLessThan(value);1266 }1267 /**1268 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Integer> org.assertj.core.api.Assertions.byLessThan(java.lang.Integer)1269 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Integer)}1270 */1271 default Offset<Integer> byLessThan(Integer value) {1272 return Assertions.byLessThan(value);1273 }1274 /**1275 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Long> org.assertj.core.api.Assertions.byLessThan(java.lang.Long)1276 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Long)}1277 */1278 default Offset<Long> byLessThan(Long value) {1279 return Assertions.byLessThan(value);1280 }1281 /**1282 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Short> org.assertj.core.api.Assertions.byLessThan(java.lang.Short)1283 * {@link org.assertj.core.api.Assertions#byLessThan(java.lang.Short)}1284 */1285 default Offset<Short> byLessThan(Short value) {1286 return Assertions.byLessThan(value);1287 }1288 /**1289 * Delegate call to public static org.assertj.core.data.TemporalUnitOffset org.assertj.core.api.Assertions.byLessThan(long,java.time.temporal.TemporalUnit)1290 * {@link org.assertj.core.api.Assertions#byLessThan(long,java.time.temporal.TemporalUnit)}1291 */1292 default TemporalUnitOffset byLessThan(long value, TemporalUnit unit) {1293 return Assertions.byLessThan(value, unit);1294 }1295 /**1296 * Delegate call to public static java.lang.Exception org.assertj.core.api.Assertions.catchException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1297 * {@link org.assertj.core.api.Assertions#catchException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1298 */1299 default Exception catchException(ThrowableAssert.ThrowingCallable shouldRaiseException) {1300 return Assertions.catchException(shouldRaiseException);1301 }1302 /**1303 * Delegate call to public static java.io.IOException org.assertj.core.api.Assertions.catchIOException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1304 * {@link org.assertj.core.api.Assertions#catchIOException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1305 */1306 default IOException catchIOException(ThrowableAssert.ThrowingCallable shouldRaiseIOException) {1307 return Assertions.catchIOException(shouldRaiseIOException);1308 }1309 /**1310 * Delegate call to public static java.lang.IllegalArgumentException org.assertj.core.api.Assertions.catchIllegalArgumentException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1311 * {@link org.assertj.core.api.Assertions#catchIllegalArgumentException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1312 */1313 default IllegalArgumentException catchIllegalArgumentException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalArgumentException) {1314 return Assertions.catchIllegalArgumentException(shouldRaiseIllegalArgumentException);1315 }1316 /**1317 * Delegate call to public static java.lang.IllegalStateException org.assertj.core.api.Assertions.catchIllegalStateException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1318 * {@link org.assertj.core.api.Assertions#catchIllegalStateException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1319 */1320 default IllegalStateException catchIllegalStateException(ThrowableAssert.ThrowingCallable shouldRaiseIllegalStateException) {1321 return Assertions.catchIllegalStateException(shouldRaiseIllegalStateException);1322 }1323 /**1324 * Delegate call to public static java.lang.IndexOutOfBoundsException org.assertj.core.api.Assertions.catchIndexOutOfBoundsException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1325 * {@link org.assertj.core.api.Assertions#catchIndexOutOfBoundsException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1326 */1327 default IndexOutOfBoundsException catchIndexOutOfBoundsException(ThrowableAssert.ThrowingCallable shouldRaiseIndexOutOfBoundException) {1328 return Assertions.catchIndexOutOfBoundsException(shouldRaiseIndexOutOfBoundException);1329 }1330 /**1331 * Delegate call to public static java.lang.NullPointerException org.assertj.core.api.Assertions.catchNullPointerException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1332 * {@link org.assertj.core.api.Assertions#catchNullPointerException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1333 */1334 default NullPointerException catchNullPointerException(ThrowableAssert.ThrowingCallable shouldRaiseNullPointerException) {1335 return Assertions.catchNullPointerException(shouldRaiseNullPointerException);1336 }1337 /**1338 * Delegate call to public static java.lang.ReflectiveOperationException org.assertj.core.api.Assertions.catchReflectiveOperationException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1339 * {@link org.assertj.core.api.Assertions#catchReflectiveOperationException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1340 */1341 default ReflectiveOperationException catchReflectiveOperationException(ThrowableAssert.ThrowingCallable shouldRaiseReflectiveOperationException) {1342 return Assertions.catchReflectiveOperationException(shouldRaiseReflectiveOperationException);1343 }1344 /**1345 * Delegate call to public static java.lang.RuntimeException org.assertj.core.api.Assertions.catchRuntimeException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1346 * {@link org.assertj.core.api.Assertions#catchRuntimeException(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1347 */1348 default RuntimeException catchRuntimeException(ThrowableAssert.ThrowingCallable shouldRaiseRuntimeException) {1349 return Assertions.catchRuntimeException(shouldRaiseRuntimeException);1350 }1351 /**1352 * Delegate call to public static java.lang.Throwable org.assertj.core.api.Assertions.catchThrowable(org.assertj.core.api.ThrowableAssert$ThrowingCallable)1353 * {@link org.assertj.core.api.Assertions#catchThrowable(org.assertj.core.api.ThrowableAssert$ThrowingCallable)}1354 */1355 default Throwable catchThrowable(ThrowableAssert.ThrowingCallable shouldRaiseThrowable) {1356 return Assertions.catchThrowable(shouldRaiseThrowable);1357 }1358 /**1359 * Delegate call to public static <THROWABLE> THROWABLE org.assertj.core.api.Assertions.catchThrowableOfType(org.assertj.core.api.ThrowableAssert$ThrowingCallable,java.lang.Class<THROWABLE>)1360 * {@link org.assertj.core.api.Assertions#catchThrowableOfType(org.assertj.core.api.ThrowableAssert$ThrowingCallable,java.lang.Class)}1361 */1362 default <THROWABLE extends Throwable> THROWABLE catchThrowableOfType(ThrowableAssert.ThrowingCallable shouldRaiseThrowable, Class<THROWABLE> type) {1363 return Assertions.catchThrowableOfType(shouldRaiseThrowable, type);1364 }1365 /**1366 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.io.File)1367 * {@link org.assertj.core.api.Assertions#contentOf(java.io.File)}1368 */1369 default String contentOf(File file) {1370 return Assertions.contentOf(file);1371 }1372 /**1373 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.net.URL)1374 * {@link org.assertj.core.api.Assertions#contentOf(java.net.URL)}1375 */1376 default String contentOf(URL url) {1377 return Assertions.contentOf(url);1378 }1379 /**1380 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.io.File,java.nio.charset.Charset)1381 * {@link org.assertj.core.api.Assertions#contentOf(java.io.File,java.nio.charset.Charset)}1382 */1383 default String contentOf(File file, Charset charset) {1384 return Assertions.contentOf(file, charset);1385 }1386 /**1387 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.io.File,java.lang.String)1388 * {@link org.assertj.core.api.Assertions#contentOf(java.io.File,java.lang.String)}1389 */1390 default String contentOf(File file, String charsetName) {1391 return Assertions.contentOf(file, charsetName);1392 }1393 /**1394 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.net.URL,java.nio.charset.Charset)1395 * {@link org.assertj.core.api.Assertions#contentOf(java.net.URL,java.nio.charset.Charset)}1396 */1397 default String contentOf(URL url, Charset charset) {1398 return Assertions.contentOf(url, charset);1399 }1400 /**1401 * Delegate call to public static java.lang.String org.assertj.core.api.Assertions.contentOf(java.net.URL,java.lang.String)1402 * {@link org.assertj.core.api.Assertions#contentOf(java.net.URL,java.lang.String)}1403 */1404 default String contentOf(URL url, String charsetName) {1405 return Assertions.contentOf(url, charsetName);1406 }1407 /**1408 * Delegate call to public static <T> org.assertj.core.condition.DoesNotHave<T> org.assertj.core.api.Assertions.doesNotHave(org.assertj.core.api.Condition<? super T>)1409 * {@link org.assertj.core.api.Assertions#doesNotHave(org.assertj.core.api.Condition)}1410 */1411 default <T> DoesNotHave<T> doesNotHave(Condition<? super T> condition) {1412 return Assertions.doesNotHave(condition);1413 }1414 /**1415 * Delegate call to public static <K,V> org.assertj.core.data.MapEntry<K, V> org.assertj.core.api.Assertions.entry(K,V)1416 * {@link org.assertj.core.api.Assertions#entry(java.lang.Object,java.lang.Object)}1417 */1418 default <K,V> MapEntry<K, V> entry(K key, V value) {1419 return Assertions.entry(key, value);1420 }1421 /**1422 * Delegate call to public static org.assertj.core.groups.Properties<java.lang.Object> org.assertj.core.api.Assertions.extractProperty(java.lang.String)1423 * {@link org.assertj.core.api.Assertions#extractProperty(java.lang.String)}1424 */1425 default Properties<Object> extractProperty(String propertyName) {1426 return Assertions.extractProperty(propertyName);1427 }1428 /**1429 * Delegate call to public static <T> org.assertj.core.groups.Properties<T> org.assertj.core.api.Assertions.extractProperty(java.lang.String,java.lang.Class<T>)1430 * {@link org.assertj.core.api.Assertions#extractProperty(java.lang.String,java.lang.Class)}1431 */1432 default <T> Properties<T> extractProperty(String propertyName, Class<T> propertyType) {1433 return Assertions.extractProperty(propertyName, propertyType);1434 }1435 /**1436 * Delegate call to public static <T> T org.assertj.core.api.Assertions.fail(java.lang.String)1437 * {@link org.assertj.core.api.Assertions#fail(java.lang.String)}1438 */1439 default <T> T fail(String failureMessage) {1440 return Assertions.fail(failureMessage);1441 }1442 /**1443 * Delegate call to public static <T> T org.assertj.core.api.Assertions.fail(java.lang.String,java.lang.Object...)1444 * {@link org.assertj.core.api.Assertions#fail(java.lang.String,java.lang.Object[])}1445 */1446 default <T> T fail(String failureMessage, Object... args) {1447 return Assertions.fail(failureMessage, args);1448 }1449 /**1450 * Delegate call to public static <T> T org.assertj.core.api.Assertions.fail(java.lang.String,java.lang.Throwable)1451 * {@link org.assertj.core.api.Assertions#fail(java.lang.String,java.lang.Throwable)}1452 */1453 default <T> T fail(String failureMessage, Throwable realCause) {1454 return Assertions.fail(failureMessage, realCause);1455 }1456 /**1457 * Delegate call to public static <T> T org.assertj.core.api.Assertions.failBecauseExceptionWasNotThrown(java.lang.Class<? extends java.lang.Throwable>)1458 * {@link org.assertj.core.api.Assertions#failBecauseExceptionWasNotThrown(java.lang.Class)}1459 */1460 default <T> T failBecauseExceptionWasNotThrown(Class<? extends Throwable> throwableClass) {1461 return Assertions.failBecauseExceptionWasNotThrown(throwableClass);1462 }1463 /**1464 * Delegate call to public static <E> org.assertj.core.api.filter.Filters<E> org.assertj.core.api.Assertions.filter(E[])1465 * {@link org.assertj.core.api.Assertions#filter(java.lang.Object[])}1466 */1467 default <E> Filters<E> filter(E[] array) {1468 return Assertions.filter(array);1469 }1470 /**1471 * Delegate call to public static <E> org.assertj.core.api.filter.Filters<E> org.assertj.core.api.Assertions.filter(java.lang.Iterable<E>)1472 * {@link org.assertj.core.api.Assertions#filter(java.lang.Iterable)}1473 */1474 default <E> Filters<E> filter(Iterable<E> iterableToFilter) {1475 return Assertions.filter(iterableToFilter);1476 }1477 /**1478 * Delegate call to public static <F,T> java.util.function.Function<F, T> org.assertj.core.api.Assertions.from(java.util.function.Function<F, T>)1479 * {@link org.assertj.core.api.Assertions#from(java.util.function.Function)}1480 */1481 default <F,T> Function<F, T> from(Function<F, T> extractor) {1482 return Assertions.from(extractor);1483 }1484 /**1485 * Delegate call to public static org.assertj.core.api.filter.InFilter org.assertj.core.api.Assertions.in(java.lang.Object...)1486 * {@link org.assertj.core.api.Assertions#in(java.lang.Object[])}1487 */1488 default InFilter in(Object... values) {1489 return Assertions.in(values);1490 }1491 /**1492 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.io.File)1493 * {@link org.assertj.core.api.Assertions#linesOf(java.io.File)}1494 */1495 default List<String> linesOf(File file) {1496 return Assertions.linesOf(file);1497 }1498 /**1499 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.net.URL)1500 * {@link org.assertj.core.api.Assertions#linesOf(java.net.URL)}1501 */1502 default List<String> linesOf(URL url) {1503 return Assertions.linesOf(url);1504 }1505 /**1506 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.io.File,java.nio.charset.Charset)1507 * {@link org.assertj.core.api.Assertions#linesOf(java.io.File,java.nio.charset.Charset)}1508 */1509 default List<String> linesOf(File file, Charset charset) {1510 return Assertions.linesOf(file, charset);1511 }1512 /**1513 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.io.File,java.lang.String)1514 * {@link org.assertj.core.api.Assertions#linesOf(java.io.File,java.lang.String)}1515 */1516 default List<String> linesOf(File file, String charsetName) {1517 return Assertions.linesOf(file, charsetName);1518 }1519 /**1520 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.net.URL,java.nio.charset.Charset)1521 * {@link org.assertj.core.api.Assertions#linesOf(java.net.URL,java.nio.charset.Charset)}1522 */1523 default List<String> linesOf(URL url, Charset charset) {1524 return Assertions.linesOf(url, charset);1525 }1526 /**1527 * Delegate call to public static java.util.List<java.lang.String> org.assertj.core.api.Assertions.linesOf(java.net.URL,java.lang.String)1528 * {@link org.assertj.core.api.Assertions#linesOf(java.net.URL,java.lang.String)}1529 */1530 default List<String> linesOf(URL url, String charsetName) {1531 return Assertions.linesOf(url, charsetName);1532 }1533 /**1534 * Delegate call to public static <T> org.assertj.core.condition.Not<T> org.assertj.core.api.Assertions.not(org.assertj.core.api.Condition<? super T>)1535 * {@link org.assertj.core.api.Assertions#not(org.assertj.core.api.Condition)}1536 */1537 default <T> Not<T> not(Condition<? super T> condition) {1538 return Assertions.not(condition);1539 }1540 /**1541 * Delegate call to public static org.assertj.core.api.filter.NotFilter org.assertj.core.api.Assertions.not(java.lang.Object)1542 * {@link org.assertj.core.api.Assertions#not(java.lang.Object)}1543 */1544 default NotFilter not(Object valueNotToMatch) {1545 return Assertions.not(valueNotToMatch);1546 }1547 /**1548 * Delegate call to public static org.assertj.core.api.filter.NotInFilter org.assertj.core.api.Assertions.notIn(java.lang.Object...)1549 * {@link org.assertj.core.api.Assertions#notIn(java.lang.Object[])}1550 */1551 default NotInFilter notIn(Object... valuesNotToMatch) {1552 return Assertions.notIn(valuesNotToMatch);1553 }1554 /**1555 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Double> org.assertj.core.api.Assertions.offset(java.lang.Double)1556 * {@link org.assertj.core.api.Assertions#offset(java.lang.Double)}1557 */1558 default Offset<Double> offset(Double value) {1559 return Assertions.offset(value);1560 }1561 /**1562 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Float> org.assertj.core.api.Assertions.offset(java.lang.Float)1563 * {@link org.assertj.core.api.Assertions#offset(java.lang.Float)}1564 */1565 default Offset<Float> offset(Float value) {1566 return Assertions.offset(value);1567 }1568 /**1569 * Delegate call to public static void org.assertj.core.api.Assertions.registerCustomDateFormat(java.text.DateFormat)1570 * {@link org.assertj.core.api.Assertions#registerCustomDateFormat(java.text.DateFormat)}1571 */1572 default void registerCustomDateFormat(DateFormat userCustomDateFormat) {1573 Assertions.registerCustomDateFormat(userCustomDateFormat);1574 }1575 /**1576 * Delegate call to public static void org.assertj.core.api.Assertions.registerCustomDateFormat(java.lang.String)1577 * {@link org.assertj.core.api.Assertions#registerCustomDateFormat(java.lang.String)}1578 */1579 default void registerCustomDateFormat(String userCustomDateFormatPattern) {1580 Assertions.registerCustomDateFormat(userCustomDateFormatPattern);1581 }1582 /**1583 * Delegate call to public static <T> void org.assertj.core.api.Assertions.registerFormatterForType(java.lang.Class<T>,java.util.function.Function<T, java.lang.String>)1584 * {@link org.assertj.core.api.Assertions#registerFormatterForType(java.lang.Class,java.util.function.Function)}1585 */1586 default <T> void registerFormatterForType(Class<T> type, Function<T, String> formatter) {1587 Assertions.registerFormatterForType(type, formatter);1588 }1589 /**1590 * Delegate call to public static void org.assertj.core.api.Assertions.setAllowComparingPrivateFields(boolean)1591 * {@link org.assertj.core.api.Assertions#setAllowComparingPrivateFields(boolean)}1592 */1593 default void setAllowComparingPrivateFields(boolean allowComparingPrivateFields) {1594 Assertions.setAllowComparingPrivateFields(allowComparingPrivateFields);1595 }1596 /**1597 * Delegate call to public static void org.assertj.core.api.Assertions.setAllowExtractingPrivateFields(boolean)1598 * {@link org.assertj.core.api.Assertions#setAllowExtractingPrivateFields(boolean)}1599 */1600 default void setAllowExtractingPrivateFields(boolean allowExtractingPrivateFields) {1601 Assertions.setAllowExtractingPrivateFields(allowExtractingPrivateFields);1602 }1603 /**1604 * Delegate call to public static void org.assertj.core.api.Assertions.setDescriptionConsumer(java.util.function.Consumer<org.assertj.core.description.Description>)1605 * {@link org.assertj.core.api.Assertions#setDescriptionConsumer(java.util.function.Consumer)}1606 */1607 default void setDescriptionConsumer(Consumer<Description> descriptionConsumer) {1608 Assertions.setDescriptionConsumer(descriptionConsumer);1609 }1610 /**1611 * Delegate call to public static void org.assertj.core.api.Assertions.setExtractBareNamePropertyMethods(boolean)1612 * {@link org.assertj.core.api.Assertions#setExtractBareNamePropertyMethods(boolean)}1613 */1614 default void setExtractBareNamePropertyMethods(boolean barenamePropertyMethods) {1615 Assertions.setExtractBareNamePropertyMethods(barenamePropertyMethods);1616 }1617 /**1618 * Delegate call to public static void org.assertj.core.api.Assertions.setLenientDateParsing(boolean)1619 * {@link org.assertj.core.api.Assertions#setLenientDateParsing(boolean)}1620 */1621 default void setLenientDateParsing(boolean value) {1622 Assertions.setLenientDateParsing(value);1623 }1624 /**1625 * Delegate call to public static void org.assertj.core.api.Assertions.setMaxElementsForPrinting(int)1626 * {@link org.assertj.core.api.Assertions#setMaxElementsForPrinting(int)}1627 */1628 default void setMaxElementsForPrinting(int maxElementsForPrinting) {1629 Assertions.setMaxElementsForPrinting(maxElementsForPrinting);1630 }1631 /**1632 * Delegate call to public static void org.assertj.core.api.Assertions.setMaxLengthForSingleLineDescription(int)1633 * {@link org.assertj.core.api.Assertions#setMaxLengthForSingleLineDescription(int)}1634 */1635 default void setMaxLengthForSingleLineDescription(int maxLengthForSingleLineDescription) {1636 Assertions.setMaxLengthForSingleLineDescription(maxLengthForSingleLineDescription);1637 }1638 /**1639 * Delegate call to public static void org.assertj.core.api.Assertions.setMaxStackTraceElementsDisplayed(int)1640 * {@link org.assertj.core.api.Assertions#setMaxStackTraceElementsDisplayed(int)}1641 */1642 default void setMaxStackTraceElementsDisplayed(int maxStackTraceElementsDisplayed) {1643 Assertions.setMaxStackTraceElementsDisplayed(maxStackTraceElementsDisplayed);1644 }1645 /**1646 * Delegate call to public static void org.assertj.core.api.Assertions.setPrintAssertionsDescription(boolean)1647 * {@link org.assertj.core.api.Assertions#setPrintAssertionsDescription(boolean)}1648 */1649 default void setPrintAssertionsDescription(boolean printAssertionsDescription) {1650 Assertions.setPrintAssertionsDescription(printAssertionsDescription);1651 }1652 /**1653 * Delegate call to public static void org.assertj.core.api.Assertions.setRemoveAssertJRelatedElementsFromStackTrace(boolean)1654 * {@link org.assertj.core.api.Assertions#setRemoveAssertJRelatedElementsFromStackTrace(boolean)}1655 */1656 default void setRemoveAssertJRelatedElementsFromStackTrace(boolean removeAssertJRelatedElementsFromStackTrace) {1657 Assertions.setRemoveAssertJRelatedElementsFromStackTrace(removeAssertJRelatedElementsFromStackTrace);1658 }1659 /**1660 * Delegate call to public static <T> T org.assertj.core.api.Assertions.shouldHaveThrown(java.lang.Class<? extends java.lang.Throwable>)1661 * {@link org.assertj.core.api.Assertions#shouldHaveThrown(java.lang.Class)}1662 */1663 default <T> T shouldHaveThrown(Class<? extends Throwable> throwableClass) {1664 return Assertions.shouldHaveThrown(throwableClass);1665 }1666 /**1667 * Delegate call to public static org.assertj.core.groups.Tuple org.assertj.core.api.Assertions.tuple(java.lang.Object...)1668 * {@link org.assertj.core.api.Assertions#tuple(java.lang.Object[])}1669 */1670 default Tuple tuple(Object... values) {1671 return Assertions.tuple(values);1672 }1673 /**1674 * Delegate call to public static void org.assertj.core.api.Assertions.useDefaultDateFormatsOnly()1675 * {@link org.assertj.core.api.Assertions#useDefaultDateFormatsOnly()}1676 */1677 default void useDefaultDateFormatsOnly() {1678 Assertions.useDefaultDateFormatsOnly();1679 }1680 /**1681 * Delegate call to public static void org.assertj.core.api.Assertions.useDefaultRepresentation()1682 * {@link org.assertj.core.api.Assertions#useDefaultRepresentation()}1683 */1684 default void useDefaultRepresentation() {1685 Assertions.useDefaultRepresentation();1686 }1687 /**1688 * Delegate call to public static void org.assertj.core.api.Assertions.useRepresentation(org.assertj.core.presentation.Representation)1689 * {@link org.assertj.core.api.Assertions#useRepresentation(org.assertj.core.presentation.Representation)}1690 */1691 default void useRepresentation(Representation customRepresentation) {1692 Assertions.useRepresentation(customRepresentation);1693 }1694 /**1695 * Delegate call to public static java.time.Duration org.assertj.core.api.Assertions.withMarginOf(java.time.Duration)1696 * {@link org.assertj.core.api.Assertions#withMarginOf(java.time.Duration)}1697 */1698 default Duration withMarginOf(Duration allowedDifference) {1699 return Assertions.withMarginOf(allowedDifference);1700 }1701 /**1702 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Double> org.assertj.core.api.Assertions.withPrecision(java.lang.Double)1703 * {@link org.assertj.core.api.Assertions#withPrecision(java.lang.Double)}1704 */1705 default Offset<Double> withPrecision(Double value) {1706 return Assertions.withPrecision(value);1707 }1708 /**1709 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Float> org.assertj.core.api.Assertions.withPrecision(java.lang.Float)1710 * {@link org.assertj.core.api.Assertions#withPrecision(java.lang.Float)}1711 */1712 default Offset<Float> withPrecision(Float value) {1713 return Assertions.withPrecision(value);1714 }1715 /**1716 * Delegate call to public static org.assertj.core.data.Offset<java.math.BigDecimal> org.assertj.core.api.Assertions.within(java.math.BigDecimal)1717 * {@link org.assertj.core.api.Assertions#within(java.math.BigDecimal)}1718 */1719 default Offset<BigDecimal> within(BigDecimal value) {1720 return Assertions.within(value);1721 }1722 /**1723 * Delegate call to public static org.assertj.core.data.Offset<java.math.BigInteger> org.assertj.core.api.Assertions.within(java.math.BigInteger)1724 * {@link org.assertj.core.api.Assertions#within(java.math.BigInteger)}1725 */1726 default Offset<BigInteger> within(BigInteger value) {1727 return Assertions.within(value);1728 }1729 /**1730 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Byte> org.assertj.core.api.Assertions.within(java.lang.Byte)1731 * {@link org.assertj.core.api.Assertions#within(java.lang.Byte)}1732 */1733 default Offset<Byte> within(Byte value) {1734 return Assertions.within(value);1735 }1736 /**1737 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Double> org.assertj.core.api.Assertions.within(java.lang.Double)1738 * {@link org.assertj.core.api.Assertions#within(java.lang.Double)}1739 */1740 default Offset<Double> within(Double value) {1741 return Assertions.within(value);1742 }1743 /**1744 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Float> org.assertj.core.api.Assertions.within(java.lang.Float)1745 * {@link org.assertj.core.api.Assertions#within(java.lang.Float)}1746 */1747 default Offset<Float> within(Float value) {1748 return Assertions.within(value);1749 }1750 /**1751 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Integer> org.assertj.core.api.Assertions.within(java.lang.Integer)1752 * {@link org.assertj.core.api.Assertions#within(java.lang.Integer)}1753 */1754 default Offset<Integer> within(Integer value) {1755 return Assertions.within(value);1756 }1757 /**1758 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Long> org.assertj.core.api.Assertions.within(java.lang.Long)1759 * {@link org.assertj.core.api.Assertions#within(java.lang.Long)}1760 */1761 default Offset<Long> within(Long value) {1762 return Assertions.within(value);1763 }1764 /**1765 * Delegate call to public static org.assertj.core.data.Offset<java.lang.Short> org.assertj.core.api.Assertions.within(java.lang.Short)1766 * {@link org.assertj.core.api.Assertions#within(java.lang.Short)}1767 */1768 default Offset<Short> within(Short value) {1769 return Assertions.within(value);1770 }1771 /**1772 * Delegate call to public static org.assertj.core.data.TemporalUnitOffset org.assertj.core.api.Assertions.within(long,java.time.temporal.TemporalUnit)1773 * {@link org.assertj.core.api.Assertions#within(long,java.time.temporal.TemporalUnit)}1774 */1775 default TemporalUnitOffset within(long value, TemporalUnit unit) {1776 return Assertions.within(value, unit);1777 }1778 /**1779 * Delegate call to public static org.assertj.core.data.Percentage org.assertj.core.api.Assertions.withinPercentage(java.lang.Double)1780 * {@link org.assertj.core.api.Assertions#withinPercentage(java.lang.Double)}1781 */1782 default Percentage withinPercentage(Double value) {1783 return Assertions.withinPercentage(value);1784 }1785 /**1786 * Delegate call to public static org.assertj.core.data.Percentage org.assertj.core.api.Assertions.withinPercentage(java.lang.Integer)1787 * {@link org.assertj.core.api.Assertions#withinPercentage(java.lang.Integer)}1788 */1789 default Percentage withinPercentage(Integer value) {...
Source:Shorts.java
...11 * Copyright 2012-2015 the original author or authors.12 */13package org.assertj.core.internal;14import static java.lang.Math.abs;15import static org.assertj.core.data.Offset.offset;16import static org.assertj.core.error.ShouldBeEqualWithinOffset.shouldBeEqual;17import static org.assertj.core.error.ShouldBeEqualWithinPercentage.shouldBeEqualWithinPercentage;18import static org.assertj.core.internal.CommonValidations.checkNumberIsNotNull;19import static org.assertj.core.internal.CommonValidations.checkOffsetIsNotNull;20import static org.assertj.core.internal.CommonValidations.checkPercentageIsNotNull;21import org.assertj.core.api.AssertionInfo;22import org.assertj.core.data.Offset;23import org.assertj.core.data.Percentage;24import org.assertj.core.util.VisibleForTesting;25/**26 * Reusable assertions for <code>{@link Short}</code>s.27 * 28 * @author Alex Ruiz29 * @author Joel Costigliola30 */31public class Shorts extends Numbers<Short> {32 private static final Shorts INSTANCE = new Shorts();33 /**34 * Returns the singleton instance of this class.35 * 36 * @return the singleton instance of this class.37 */38 public static Shorts instance() {39 return INSTANCE;40 }41 @VisibleForTesting42 Shorts() {43 super();44 }45 public Shorts(ComparisonStrategy comparisonStrategy) {46 super(comparisonStrategy);47 }48 @Override49 protected Short zero() {50 return 0;51 }52 @Override53 public void assertIsCloseTo(AssertionInfo info, Short actual, Short expected, Offset<Short> offset) {54 assertNotNull(info, actual);55 checkOffsetIsNotNull(offset);56 checkNumberIsNotNull(expected);57 Short absDiff = (short) abs(expected - actual);58 if (absDiff > offset.value) throw failures.failure(info, shouldBeEqual(actual, expected, offset, absDiff));59 }60 @Override61 public void assertIsCloseToPercentage(AssertionInfo info, Short actual, Short other,62 Percentage percentage) {63 assertNotNull(info, actual);64 checkPercentageIsNotNull(percentage);65 checkNumberIsNotNull(other);66 Offset<Double> calculatedOffset = offset(percentage.value * other / 100d);67 short absDiff = (short) abs(other - actual);68 if (absDiff > calculatedOffset.value)69 throw failures.failure(info, shouldBeEqualWithinPercentage(actual, other, percentage, absDiff));70 }71}
Source:Longs.java
...11 * Copyright 2012-2015 the original author or authors.12 */13package org.assertj.core.internal;14import static java.lang.Math.abs;15import static org.assertj.core.data.Offset.offset;16import static org.assertj.core.error.ShouldBeEqualWithinOffset.shouldBeEqual;17import static org.assertj.core.error.ShouldBeEqualWithinPercentage.shouldBeEqualWithinPercentage;18import static org.assertj.core.internal.CommonValidations.checkNumberIsNotNull;19import static org.assertj.core.internal.CommonValidations.checkOffsetIsNotNull;20import static org.assertj.core.internal.CommonValidations.checkPercentageIsNotNull;21import org.assertj.core.api.AssertionInfo;22import org.assertj.core.data.Offset;23import org.assertj.core.data.Percentage;24import org.assertj.core.util.VisibleForTesting;25/**26 * Reusable assertions for <code>{@link Long}</code>s.27 * 28 * @author Alex Ruiz29 * @author Joel Costigliola30 */31public class Longs extends Numbers<Long> {32 private static final Longs INSTANCE = new Longs();33 /**34 * Returns the singleton instance of this class.35 * 36 * @return the singleton instance of this class.37 */38 public static Longs instance() {39 return INSTANCE;40 }41 @Override42 protected Long zero() {43 return 0L;44 }45 @VisibleForTesting46 Longs() {47 super();48 }49 public Longs(ComparisonStrategy comparisonStrategy) {50 super(comparisonStrategy);51 }52 @Override53 public void assertIsCloseTo(AssertionInfo info, Long actual, Long expected, Offset<Long> offset) {54 assertNotNull(info, actual);55 checkOffsetIsNotNull(offset);56 checkNumberIsNotNull(expected);57 long absDiff = abs(expected - actual);58 if (absDiff > offset.value) throw failures.failure(info, shouldBeEqual(actual, expected, offset, absDiff));59 }60 @Override61 public void assertIsCloseToPercentage(AssertionInfo info, Long actual, Long other, Percentage percentage) {62 assertNotNull(info, actual);63 checkPercentageIsNotNull(percentage);64 checkNumberIsNotNull(other);65 Offset<Double> calculatedOffset = offset(percentage.value * other / 100d);66 Long absDiff = abs(other - actual);67 if (absDiff > calculatedOffset.value)68 throw failures.failure(info, shouldBeEqualWithinPercentage(actual, other, percentage, absDiff));69 }70}...
Offset
Using AI Code Generation
1import org.assertj.core.data.Offset;2import org.junit.Test;3import static org.assertj.core.api.Assertions.assertThat;4public class OffsetTest {5 public void testOffset() {6 assertThat(1.0).isEqualTo(1.0, Offset.offset(0.0));7 assertThat(1.0).isNotEqualTo(2.0, Offset.offset(0.0));8 }9}10at org.junit.Assert.assertEquals(Assert.java:115)11at org.junit.Assert.assertEquals(Assert.java:144)12at OffsetTest.testOffset(OffsetTest.java:10)13import org.assertj.core.data.Offset;14import org.junit.jupiter.api.Test;15import static org.assertj.core.api.Assertions.assertThat;16public class OffsetTest {17 public void testOffset() {18 assertThat(1.0).isEqualTo(1.0, Offset.offset(0.0));19 assertThat(1.0).isNotEqualTo(2.0, Offset.offset(0.0));20 }21}22at org.junit.Assert.assertEquals(Assert.java:115)23at org.junit.Assert.assertEquals(Assert.java:144)24at OffsetTest.testOffset(OffsetTest.java:10)25import org.assertj.core.data.Offset;26import org.junit.Test;27import static org.assertj.core.api.Assertions.assertThat;28public class OffsetTest {29 public void testOffset() {30 assertThat(1.0).isEqualTo(1.0, Offset.offset(0.0));31 assertThat(1.0).isNotEqualTo(2.0, Offset.offset(0.0));32 }33}34at org.junit.Assert.assertEquals(Assert.java:115)35at org.junit.Assert.assertEquals(Assert.java:144)36at OffsetTest.testOffset(OffsetTest.java:10)
Offset
Using AI Code Generation
1import static org.assertj.core.api.Assertions.*;2import org.assertj.core.data.Offset;3public class AssertJOffsetExample {4 public static void main(String[] args) {5 assertThat(1.0).isEqualTo(1.0, Offset.offset(0.0));6 assertThat(1.0).isNotEqualTo(2.0, Offset.offset(0.0));7 assertThat(1.0).isCloseTo(1.0, Offset.offset(0.0));8 assertThat(1.0).isNotCloseTo(2.0, Offset.offset(0.0));9 }10}11at org.junit.Assert.assertEquals(Assert.java:115)12at org.junit.Assert.assertEquals(Assert.java:144)13at org.assertj.core.internal.Doubles.assertEqual(Doubles.java:46)14at org.assertj.core.internal.Doubles.assertEqual(Doubles.java:23)15at org.assertj.core.internal.Numbers.assertEqual(Numbers.java:64)16at org.assertj.core.internal.Objects.assertEqual(Objects.java:82)17at org.assertj.core.api.AbstractAssert.isEqualTo(AbstractAssert.java:81)18at org.assertj.core.api.AbstractDoubleAssert.isEqualTo(AbstractDoubleAssert.java:74)19at AssertJOffsetExample.main(AssertJOffsetExample.java:7)20at org.junit.Assert.assertEquals(Assert.java:115)21at org.junit.Assert.assertEquals(Assert.java:144)22at org.assertj.core.internal.Doubles.assertEqual(Doubles.java:46)23at org.assertj.core.internal.Doubles.assertEqual(Doubles.java:23)24at org.assertj.core.internal.Numbers.assertEqual(Numbers.java:64)25at org.assertj.core.internal.Objects.assertNotEqual(Objects.java:88)26at org.assertj.core.api.AbstractAssert.isNotEqualTo(AbstractAssert.java:91)27at org.assertj.core.api.AbstractDoubleAssert.isNotEqualTo(AbstractDoubleAssert.java:82)28at AssertJOffsetExample.main(AssertJOffsetExample.java:8)29at org.junit.Assert.assertEquals(Assert.java:115)30at org.junit.Assert.assertEquals(Assert.java:144)31at org.assertj.core.internal.Doubles.assertEqual(Doubles.java:46)
Offset
Using AI Code Generation
1import org.assertj.core.api.Assertions;2import org.assertj.core.data.Offset;3public class OffsetExample {4 public static void main(String[] args) {5 Assertions.assertThat(5.0).isCloseTo(5.1, Offset.offset(0.2));6 }7}
Offset
Using AI Code Generation
1import org.junit.Test;2import static org.assertj.core.api.Assertions.assertThat;3import static org.assertj.core.data.Offset.offset;4public class Offset {5 public void testOffset() {6 assertThat(5.0).isEqualTo(5.0, offset(0.0));7 assertThat(5.0).isEqualTo(5.0, offset(1.0));8 assertThat(5.0).isNotEqualTo(5.0, offset(0.5));9 }10}11 assertThat(5.0).isEqualTo(5.0, offset(0.0));12 assertThat(5.0).isEqualTo(5.0, offset(1.0));13 assertThat(5.0).isNotEqualTo(5.0, offset(0.5));
Offset
Using AI Code Generation
1import static org.assertj.core.api.Assertions.*;2import org.assertj.core.data.Offset;3import org.junit.Test;4public class OffsetTest {5 public void testOffset() {6 assertThat(1.0).isEqualTo(1.0, Offset.offset(0.0));7 }8}9 at org.junit.Assert.assertEquals(Assert.java:115)10 at org.junit.Assert.assertEquals(Assert.java:144)11 at org.assertj.core.api.AbstractAssert.isEqualTo(AbstractAssert.java:75)12 at org.assertj.core.api.AbstractDoubleAssert.isEqualTo(AbstractDoubleAssert.java:113)13 at org.assertj.core.api.AbstractDoubleAssert.isEqualTo(AbstractDoubleAssert.java:45)14 at OffsetTest.testOffset(OffsetTest.java:9)15 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)16 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)17 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)18 at java.lang.reflect.Method.invoke(Method.java:498)19 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)20 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)21 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)22 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)23 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)24 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)25 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)26 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)27 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)28 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)29 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)30 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)31 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)32 at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(J
Offset
Using AI Code Generation
1import static org.assertj.core.api.Assertions.assertThat;2import static org.assertj.core.data.Offset.offset;3import org.assertj.core.data.Offset;4import java.util.ArrayList;5import java.util.List;6public class OffsetClass {7 public static void main(String[] args) {8 List<Integer> list = new ArrayList<Integer>();9 list.add(1);10 list.add(2);11 list.add(3);12 assertThat(list).contains(1, offset(1));13 }14}
Offset
Using AI Code Generation
1import static org.assertj.core.api.Assertions.assertThat;2import org.assertj.core.data.Offset;3public class App {4 public static void main(String[] args) {5 double a = 1.0;6 double b = 1.0;7 assertThat(a).isEqualTo(b, Offset.offset(0.5));8 System.out.println("Assertion passed");9 }10}
Offset
Using AI Code Generation
1import static org.assertj.core.api.Assertions.assertThat;2import org.assertj.core.data.Offset;3import org.junit.Test;4public class OffsetTest {5public void test() {6 assertThat(10.0).isCloseTo(11.0, Offset.offset(1.0));7 assertThat(10.0).isCloseTo(11.0, Offset.offset(2.0));8 assertThat(10.0).isCloseTo(11.0, Offset.offset(0.5));9}10}
Offset
Using AI Code Generation
1import org.assertj.core.data.Offset;2import org.assertj.core.api.Assertions;3public class AssertJOffset {4public static void main(String[] args) {5float a = 3.14f;6float b = 3.15f;7float c = 3.16f;8float d = 3.17f;9float e = 3.18f;10Assertions.assertThat(a).isCloseTo(b, Offset.offset(0.01f));11Assertions.assertThat(c).isCloseTo(d, Offset.offset(0.01f));12Assertions.assertThat(e).isCloseTo(d, Offset.offset(0.01f));13}14}
Offset
Using AI Code Generation
1import org.assertj.core.data.Offset;2import org.junit.Assert;3import org.junit.Test;4public class AssertJOffsetExample {5 public void test() {6 Assert.assertThat(8.0, IsCloseTo.closeTo(8.1, Offset.offset(0.2)));7 }8}9Offset(double value)10Offset(double value, boolean strict)11Offset(double value, double strictValue)12Offset(double value, double strictValue, boolean strict)13Offset.offset(double value)14Offset.offset(double value, boolean strict)15Offset.offset(double value, double strictValue)16Offset.offset(double value, double strictValue, boolean strict)17Offset.strictOffset(double
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!