Class ClassSubject
Propositions for
Class subjects.-
Nested Class Summary
Nested classes/interfaces inherited from class Subject
Subject.HasField -
Field Summary
Fields inherited from class Subject
failureStrategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeclaresField(String fieldName) voidisAssignableFrom(Class<?> clazz) Fails if this class or interface is not the same as or a superclass or superinterface of the given class or interface.voidisAssignableTo(Class<?> clazz) Fails if this class or interface is not the same as or a subclass or subinterface of, the given class or interface.Methods inherited from class Subject
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hasField, hashCode, internalCustomName, is, isA, isEqualTo, isInstanceOf, isNotA, isNotEqualTo, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, labeled, named
-
Constructor Details
-
ClassSubject
ClassSubject(FailureStrategy failureStrategy, Class<?> o)
-
-
Method Details
-
isAssignableFrom
Fails if this class or interface is not the same as or a superclass or superinterface of the given class or interface. -
isAssignableTo
Fails if this class or interface is not the same as or a subclass or subinterface of, the given class or interface. -
declaresField
-