public void Eat_SuppliedDogFood_ShouldNotBeHungry() { // Arrange var dog = new Dog("dawg"); var dogFood = new DogFood(); // Act dog.Feed(dogFood); // Assert Assert.IsFalse(dog.IsHungry); }
public void Eat_SuppliedCatFood_ShouldStillBeHungry() { // Arrange var dog = new Dog("dawg"); var catFood = new CatFood(); // Act dog.Feed(catFood); // Assert Assert.IsTrue(dog.IsHungry); }
public void Move_DogNotHungry_ShouldMakeDogHungry() { // Arrange var dog = new Dog("Lady Dawg"); dog.Feed(new DogFood()); // Act dog.Move(); // Assert Assert.True(dog.IsHungry); }