public class IntegerSubject extends ComparableSubject<Integer>
Integer subjects.| Modifier | Constructor and Description | 
|---|---|
protected  | 
IntegerSubject(FailureMetadata metadata,
              Integer integer)
Constructor for use by subclasses. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
isEquivalentAccordingToCompareTo(Integer other)
Deprecated. 
 
Use  
Subject.isEqualTo(java.lang.Object) instead. Integer comparison is consistent with equality. | 
isAtLeast, isAtMost, isGreaterThan, isIn, isLessThan, isNotInactualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toStringprotected IntegerSubject(FailureMetadata metadata, @NullableDecl Integer integer)
Subject.check().that(actual).@Deprecated public final void isEquivalentAccordingToCompareTo(Integer other)
Subject.isEqualTo(java.lang.Object) instead. Integer comparison is consistent with equality.ComparableSubjectother according to Comparable.compareTo(T), (i.e., checks that a.comparesTo(b) == 0).
 Note: Do not use this method for checking object equality. Instead, use Subject.isEqualTo(Object).
isEquivalentAccordingToCompareTo in class ComparableSubject<Integer>Copyright © 2019. All rights reserved.