Class DrawObjectiveActionTest.TestCanBePlayed

java.lang.Object
com.takenoko.actions.objective.DrawObjectiveActionTest.TestCanBePlayed
Enclosing class:
DrawObjectiveActionTest

@Nested @DisplayName("Method canBePlayed()") class DrawObjectiveActionTest.TestCanBePlayed extends Object
  • Field Details

  • Constructor Details

    • TestCanBePlayed

      TestCanBePlayed()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • canDrawObjective_shouldReturnTrueIfCanDrawObjective

      @Test @DisplayName("should return true if the player can draw an objective") void canDrawObjective_shouldReturnTrueIfCanDrawObjective()
    • canDrawObjective_shouldReturnFalseIfCantDrawObjective

      @Test @DisplayName("should return false if the player can\'t draw an objective") void canDrawObjective_shouldReturnFalseIfCantDrawObjective()
    • canDrawObjective_shouldReturnFalseIfObjectiveDeckIsEmpty

      @Test @DisplayName("should return false if the objective deck is empty") void canDrawObjective_shouldReturnFalseIfObjectiveDeckIsEmpty()