Package org.fest.assertions


package org.fest.assertions

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);