Event Dispatcher  v0.1.6-beta.1
Project that offers a small library that allows to subscribe and fire events.
EqualsTest.PersonObjectEqualsTest

Detailed Description

Definition at line 71 of file EqualsTest.java.

+ Inheritance diagram for EqualsTest.PersonObjectEqualsTest:

Public Member Functions

PersonObject createValue ()
 
PersonObject createNotEqualValue ()
 
- Public Member Functions inherited from EqualsContract< T >
default void equalValueItself ()
 
default void notEqualNullValue ()
 
default void notEqualDifferentValue ()
 

Package Functions

void beforeAll ()
 

Package Attributes

RandomString randString
 

Private Member Functions

PersonObject createRandomPersonObject ()
 

Member Function Documentation

◆ beforeAll()

void beforeAll ( )
package

Definition at line 76 of file EqualsTest.java.

◆ createValue()

PersonObject createValue ( )

Creates and returns a value used for testing.


This method should be implemented to guarantee the correct execution of the classes that rely on this method.

Returns
the created value

Implements Testable< T >.

Definition at line 81 of file EqualsTest.java.

◆ createNotEqualValue()

PersonObject createNotEqualValue ( )

Creates and returns a non equal value to use in the equality tests.


This method should return a value not equal to the returned by Testable#createValue for its correct execution.

Returns
the created value

Implements EqualsContract< T >.

Definition at line 94 of file EqualsTest.java.

◆ createRandomPersonObject()

PersonObject createRandomPersonObject ( )
private

Definition at line 106 of file EqualsTest.java.

Member Data Documentation

◆ randString

RandomString randString
package

Definition at line 73 of file EqualsTest.java.