Package com.google.common.truth
Class BooleanSubject
- java.lang.Object
-
- com.google.common.truth.Subject<S,T>
-
- com.google.common.truth.ComparableSubject<BooleanSubject,Boolean>
-
- com.google.common.truth.BooleanSubject
-
public class BooleanSubject extends ComparableSubject<BooleanSubject,Boolean>
Propositions for boolean subjects.- Author:
- Christian Gruber (cgruber@israfil.net)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.HasField
-
-
Field Summary
-
Fields inherited from class com.google.common.truth.Subject
failureStrategy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
isFalse()
Fails if the subject is true.void
isTrue()
Fails if the subject is false.-
Methods inherited from class com.google.common.truth.ComparableSubject
comparesEqualTo, isAtLeast, isAtMost, isGreaterThan, isIn, isLessThan, isNotIn
-
Methods inherited from class com.google.common.truth.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
-
-