Beispiel #1
0
 public void ShouldRemoveRestaurant()
 {
     GivenRestaurantInContext(SomeRestaurant);
     WhenRemove(SomeRestaurant.ID);
     WhenGet(SomeRestaurant.ID);
     ThenRestaurant.Should().BeNull();
 }
Beispiel #2
0
 public void ShouldReturnNullForNotFoundRestaurant()
 {
     GivenRestaurantInContext(SomeRestaurant);
     WhenGet(5);
     ThenRestaurant.Should().BeNull();
 }