public void AssertThatWhenFeedingAPetThatIsAbleToBeFedTheAppetiteIncreasesAsExpected() { testPetDataAccess.SavePetStatus(petOne); testPetDataAccess.FeedThePet(petOne, 20); testPetDataAccess.GetPetStatus("IggyTheLizard").CurrentAppetiteRating.Should().Be(70); }
public void Feed([FromBody] Pet pet, double feedIncrease) { petDataAccess.FeedThePet(pet, feedIncrease); }