public void editOfferTestEmptyTeaser()
 {
     OfferController offercontroller = new OfferController();
     Response response = offercontroller.editOffer(
         new Input("name", "test"),
         new Input("price", "1.0"),
         new Input("teaser", "")
         );
     Assert.AreEqual(response.State, ResponseState.FAIL);
     Assert.Greater(response.Errors.Count(error => error.ErrorMessage == "Offer teaser can't be empty."), 0);
 }
 public void editOfferTestNormalCase()
 {
     OfferController offercontroller = new OfferController();
     Response response = offercontroller.editOffer(
         new Input("name", "test"),
         new Input("price", "1.0"),
         new Input("teaser", "test")
         );
     Assert.AreEqual(response.State, ResponseState.SUCCESS);
 }