Class SingleGardenerObjectiveTest.TestEquals.TestNotEquals

java.lang.Object
com.takenoko.objective.SingleGardenerObjectiveTest.TestEquals.TestNotEquals
Enclosing class:
SingleGardenerObjectiveTest.TestEquals

@Nested @DisplayName("should return false when the two objects are not equal") class SingleGardenerObjectiveTest.TestEquals.TestNotEquals extends Object
  • Constructor Details

    • TestNotEquals

      TestNotEquals()
  • Method Details

    • shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseThecolorIsNotTheSame

      @Test @DisplayName("because the color is not the same") void shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseThecolorIsNotTheSame()
    • shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheImprovementIsNotTheSame

      @Test @DisplayName("because the improvement is not the same") void shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheImprovementIsNotTheSame()
    • shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheSizeIsNotTheSame

      @Test @DisplayName("because the size is not the same") void shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheSizeIsNotTheSame()
    • shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheOtherObjectIsNull

      @Test @DisplayName("because the other object is null") void shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheOtherObjectIsNull()
    • shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheOtherObjectIsNotASingleGardenerObjective

      @Test @DisplayName("because the other object is not a SingleGardenerObjective") void shouldReturnFalseWhenTheTwoObjectsAreNotEqualBecauseTheOtherObjectIsNotASingleGardenerObjective()