Package | Description |
---|---|
org.fest.assertions.api |
Modifier and Type | Method and Description |
---|---|
static <T> ObjectAssert<T> |
Assertions.assertThat(T actual)
Creates a new instance of
. |
ObjectAssert<T> |
ObjectAssert.isEqualsToByComparingFields(T other)
Assert that the actual object is equals fields by fields to another object, inherited fields are taken into
account.
|
ObjectAssert<T> |
ObjectAssert.isLenientEqualsToByAcceptingFields(T other,
String... fields)
Assert that the actual object is lenient equals to given one by only comparing actual and other on the given
"accepted" fields only ("accepted" fields can be inherited fields).
|
ObjectAssert<T> |
ObjectAssert.isLenientEqualsToByIgnoringFields(T other,
String... fields)
Assert that the actual object is lenient equals to given one by comparing actual and other fields (including
inherited fields) except the given "ignored" fields.
|
ObjectAssert<T> |
ObjectAssert.isLenientEqualsToByIgnoringNullFields(T other)
Assert that the actual object is lenient equals to given one by comparing only actual and not null other
fields (including inherited fields).
|
Copyright © 2007–2014. All rights reserved.