@Test
public void newBasket() {

    BasketModel basketModel = getMockedBasketModel("test");
    BasketModel result = basketController.newBasket(basketModel);
    assert(result.getItems().contains("test"));
    assert(result.getId() != null);
    assert(result.getCreationPoint() != null);
    BasketModel storedResult = basketController.one(result.getId());
    assert(result.getId().equals(storedResult.getId()));
}