source: class BasketControllerTest  {
  
      @Autowired BasketController basketController;
  
      @Test
      public void newBasket() {
  
target:         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()));
      }
  
  }