Class PersonAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractObjectAssert<S,A>
info.ejava.examples.app.testing.testbasics.AbstractPersonAssert<PersonAssert,Person>
info.ejava.examples.app.testing.testbasics.PersonAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<PersonAssert,
,Person> org.assertj.core.api.Descriptable<PersonAssert>
,org.assertj.core.api.ExtensionPoints<PersonAssert,
Person>
@Generated("assertj-assertions-generator")
public class PersonAssert
extends AbstractPersonAssert<PersonAssert,Person>
Person
specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractPersonAssert
instead.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorsConstructorDescriptionPersonAssert
(Person actual) Creates a new
to make assertions on actual Person.PersonAssert
-
Method Summary
Modifier and TypeMethodDescriptionstatic PersonAssert
assertThat
(Person actual) An entry point for PersonAssert to follow AssertJ standardassertThat()
statements.
With a static import, one can write directly:assertThat(myPerson)
and get specific assertion with code completion.Methods inherited from class info.ejava.examples.app.testing.testbasics.AbstractPersonAssert
hasDob, hasFirstName, hasLastName
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, describedAs, describedAs
-
Constructor Details
-
PersonAssert
Creates a new
to make assertions on actual Person.PersonAssert
- Parameters:
actual
- the Person we want to make assertions on.
-
-
Method Details
-
assertThat
An entry point for PersonAssert to follow AssertJ standardassertThat()
statements.
With a static import, one can write directly:assertThat(myPerson)
and get specific assertion with code completion.- Parameters:
actual
- the Person we want to make assertions on.- Returns:
- a new
PersonAssert
-