Exemplo n.º 1
0
 @Test
 public void givenAnItemWithANegativeSellin_thenTheSellinDayIsPassed() {
   InnItem innItem = new InnItem("Lambda", -1, 0);
   assertThat(innItem.isSellInDayPassed()).isTrue();
 }
Exemplo n.º 2
0
 @Test
 public void givenAnItemWithAZeroSellin_thenTheSellinDayIsNotPassed() {
   InnItem innItem = new InnItem("Lambda", 0, 0);
   assertThat(innItem.isSellInDayPassed()).isFalse();
 }