org.truth0.subjects
Class BooleanSubject

java.lang.Object
  extended by org.truth0.subjects.Subject<BooleanSubject,Boolean>
      extended by org.truth0.subjects.BooleanSubject

@GwtCompatible
public class BooleanSubject
extends Subject<BooleanSubject,Boolean>

Propositions for boolean subjects

Author:
Christian Gruber (cgruber@israfil.net)

Field Summary
 
Fields inherited from class org.truth0.subjects.Subject
failureStrategy
 
Constructor Summary
BooleanSubject(FailureStrategy failureStrategy, Boolean subject)
           
 
Method Summary
 void isFalse()
           
 void isTrue()
           
 
Methods inherited from class org.truth0.subjects.Subject
check, equals, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hashCode, internalCustomLabel, is, isEqualTo, isNotEqualTo, isNotNull, isNull, labeled
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSubject

public BooleanSubject(FailureStrategy failureStrategy,
                      Boolean subject)
Method Detail

isTrue

public void isTrue()

isFalse

public void isFalse()


Copyright © 2014. All rights reserved.