@Test
public void testThatQualityOfItemDecreasesByOneIfSellDateDidNotPass() {

    Item item = new Item("An item", 1, 50);
    GildedRose.updateQualityOf(item);
    assertThat(item.getQuality()).isEqualTo(49);
}