public static void AllBooksPerson_NotEmpty() { int personID = 1; _mock.Setup(p => p.AllbooksPerson(personID)).Returns(_personRepository.AllbooksPerson(personID)); var rezult = _mock.Object.AllbooksPerson(personID); Assert.NotEmpty(rezult); }
public static void AllBooksPerson_NotEmpty() { int personID = 1; _mock.Setup(p => p.AllbooksPerson(personID)).Returns(_personRepository.AllbooksPerson(personID)); var rezult = _mock.Object.AllbooksPerson(personID); Assert.NotEmpty(rezult); }