Package org.fest.assertions

Assertion methods bound to the type they apply.

See: Description

Package org.fest.assertions Description

Assertion methods bound to the type they apply. The entry point is any of the "assertThat" methods in Assertions (assertion classes cannot be instantiated directly.)

For example:

 
int removed = employees.removeFired();
assertThat(removed).isZero();

List<Employee> newEmployees = employees.hired(TODAY);
assertThat(newEmployees).hasSize(6);

Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.