@Test public void shouldDisplayDetails() { Receipt receipt = new Receipt("This is an item"); assertEquals("This is an item", receipt.display()); }