@Test
public void deleteItem() {

    BasketModel basketModel = getMockedBasketModel("dummy");
    basketModel.addItem("deletedItem");
    BasketModel result = basketController.newBasket(basketModel);
    result = basketController.deleteItem(result.getId(), "deletedItem");
    assert(!result.getItems().contains("deletedItem"));
    BasketModel storedResult = basketController.one(result.getId());
    assert(!storedResult.getItems().contains("deletedItem"));
}