Interface GenericObjectAssert<T,U extends GenericObjectAssert<T,U>>
-
- Type Parameters:
T
- the typeU
- the generic object assert type
- All Known Subinterfaces:
BooleanArrayAssert
,BooleanAssert
,ByteArrayAssert
,CharArrayAssert
,CharSequenceAssert
,ComparableAssert<T>
,DoubleArrayAssert
,EnumerableAssert<T,U>
,FloatArrayAssert
,GenericBooleanArrayAssert<T>
,GenericBooleanAssert<T>
,GenericByteArrayAssert<T>
,GenericCharArrayAssert<T>
,GenericCharSequenceAssert<T,U>
,GenericComparableAssert<T,U>
,GenericDoubleArrayAssert<T>
,GenericFloatArrayAssert<T>
,GenericIntArrayAssert<T>
,GenericIntegerAssert<T>
,GenericIterableAssert<T,U,V>
,GenericListAssert<T,U,V>
,GenericLongArrayAssert<T>
,GenericLongAssert<T>
,GenericMapAssert<T,U,V,W>
,GenericNumberAssert<T,U>
,GenericObjectArrayAssert<T,U>
,GenericShortArrayAssert<T>
,GenericStringAssert<T>
,IntArrayAssert
,IntegerAssert
,IterableAssert<T>
,ListAssert<T>
,LongArrayAssert
,LongAssert
,MapAssert<T,U>
,ObjectArrayAssert
,ObjectAssert
,ShortArrayAssert
,StringAssert
- All Known Implementing Classes:
AbstractBooleanArrayAssert
,AbstractBooleanAssert
,AbstractByteArrayAssert
,AbstractCharArrayAssert
,AbstractCharSequenceAssert
,AbstractComparableAssert
,AbstractDoubleArrayAssert
,AbstractFloatArrayAssert
,AbstractIntArrayAssert
,AbstractIntegerAssert
,AbstractIterableAssert
,AbstractListAssert
,AbstractLongArrayAssert
,AbstractLongAssert
,AbstractMapAssert
,AbstractObjectArrayAssert
,AbstractObjectAssert
,AbstractShortArrayAssert
,AbstractStringAssert
public interface GenericObjectAssert<T,U extends GenericObjectAssert<T,U>>
Generic object assertions.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description U
doesNotHaveSameClassAs(java.lang.Object value)
Verifies that the Object does not have the same class as the value.U
hasSameClassAs(java.lang.Object value)
Verifies that the Object has the same class as the value.U
isEqualTo(java.lang.Object value)
Verifies that the Object is equal to the value.U
isNotEqualTo(java.lang.Object value)
Verifies that the Object is not equal to the value.U
isNotSameAs(java.lang.Object value)
Verifies that the Object is not the same as the value.U
isSameAs(java.lang.Object value)
Verifies that the Object is the same as the value.void
verify(T actual)
Verifies the actual.
-
-
-
Method Detail
-
doesNotHaveSameClassAs
U doesNotHaveSameClassAs(java.lang.Object value)
Verifies that the Object does not have the same class as the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
hasSameClassAs
U hasSameClassAs(java.lang.Object value)
Verifies that the Object has the same class as the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
isEqualTo
U isEqualTo(java.lang.Object value)
Verifies that the Object is equal to the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
isNotEqualTo
U isNotEqualTo(java.lang.Object value)
Verifies that the Object is not equal to the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
isNotSameAs
U isNotSameAs(java.lang.Object value)
Verifies that the Object is not the same as the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
isSameAs
U isSameAs(java.lang.Object value)
Verifies that the Object is the same as the value.- Parameters:
value
- the value- Returns:
- the object assert
- Since:
- 1.0
-
verify
void verify(T actual)
Verifies the actual.- Parameters:
actual
- the actual- Since:
- 1.0
-
-