Package com.google.common.truth
Class ClassSubject
- java.lang.Object
-
- com.google.common.truth.Subject
-
- com.google.common.truth.ClassSubject
-
@GwtIncompatible("reflection") public final class ClassSubject extends Subject
Propositions forClass
subjects.- Author:
- Kurt Alfred Kluever
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.Factory<SubjectT extends Subject,ActualT>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
isAssignableTo(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 com.google.common.truth.Subject
actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString
-
-
-
-
Method Detail
-
isAssignableTo
public void isAssignableTo(Class<?> clazz)
Fails if this class or interface is not the same as or a subclass or subinterface of, the given class or interface.
-
-