fleencorp / fleen-feen

Fleen Feen connects you with the world
GNU General Public License v3.0
0 stars 1 forks source link

Add unit tests for Contact class #57

Closed Banji0x closed 1 month ago

Banji0x commented 1 month ago

Description This PR adds comprehensive unit tests for the Contact class in com.fleencorp.feen.model.domain.share. The tests cover nullability, non-nullability, equality, and non-equality scenarios, following our code guidelines and test patterns.

Changes Implement ContactTest class using JUnit 5 Follow patterns from FleenFeenEntityTest and Oauth2AuthorizationTest Use snake_case for @Test method names Add tests for Contact object creation and property validation

Test Coverage

  1. New tests cover:
  2. Nullability and non-nullability checks for all properties
  3. Equality and non-equality comparisons
aalamu commented 1 month ago

@Banji0x We can add a bullet point for the list of things we implemented in our PR like

Note:

You can use ``` to format a word or phrase as a snippet of code like before and after the snippet