public void Index_Gets_AllCandies() //HomeController instance was created, //Did the repo receive the GetAll() call? { sut.Index(); candyRepo.Received().GetAll(); }
public void Index_Gets_AllCandies() { underTest.Index(); candyRepo.Received().GetAll(); }
public void Index_Gets_All_Candies() { var result = underTest.Index(); candyRepo.Received().GetAll(); }