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
(assertion classes cannot be instantiated directly.)
Assertions
For example:
int removed = employees.removeFired();assertThat(removed).isZero(); List<Employee> newEmployees = employees.hired(TODAY);assertThat(newEmployees).hasSize(6);
-
ClassDescriptionArrayAssert<T>Understands assertions for arrays.Understands utility methods for arrays.Understands the base class for all assertion methods for objects and primitives.Understands a marker interface for used-defined assertions.Understands an entry point for assertion methods for different data types.Understands the default implementation of
.DescriptionUnderstands assertion methods for.BigDecimalUnderstands assertion methods forbooleanarrays.Understands assertion methods forBooleans andbooleans.Understands assertion methods forbytearrays.Understands assertion methods forBytes andbytes.Understands assertion methods forchararrays.Understands assertion methods forCharacters andchars.Understands assertions for collections.Understands utility methods related to.CollectionsComparableAssert<T extends Comparable<T>>Understands a template for assertion methods, applicable tos.ComparableUnderstands creation of JUnit'sComparisonFailure.Condition<T>Understands a condition to be met by a given.ObjectUnderstands access to constructors using Java reflection.Understands a finite increment in a variable.Understands a description of something.Understands assertion methods fordoublearrays.Understands Assertion methods forDoubles anddoubles.Deprecated.Understands common error messages.Understands failure methods.Understands assertion methods forFile.Compares the contents of two files.Understands assertion methods forfloatarrays.Understands assertion methods forFloats andfloats.Deprecated.use top-level classinstead.DeltaProvides utility methods related to formatting.Understands a template for assertion methods.GroupAssert<T>Understands a template for assertion methods related to classes representing groups of values.Understands assertion methods for images.Understands reading an image from the file system.Understands an index.Understands assertion methods forintarrays.Understands assert method forIntegers andints.Understands a template for assertion methods related to groups of items (e.g.Understands assertions fors.ListUnderstands assertion methods forlongarrays.Understands assertion methods forLongs andlongs.Understands assertions fors.MapUnderstands an entry in a.MapUnderstands a template of assertion methods for numbers (primitives and objects.)Understands assertions forObjectarrays.Understands assertion methods for objects.Understands a template for assertion methods related to arrays or collections.Understands utility methods related to properties.Understands a color.Understands assertion methods forshortarrays.Understands assertion methods forShorts andshorts.Understands assertion methods forStrings.Understands a threshold.Understands assertion methods for.ThrowableUnderstands how to obtain thetoStringrepresentation of an object.
instead.Delta