public void ItReturnsCollectionOfHorseSummary() { // Arrange // Act var horses = _horseService.GetAll(); // Assert Assert.NotNull(horses); Assert.IsAssignableFrom <IEnumerable <HorseSummary> >(horses); }
public void ItReturnsCollectionOfHorses() { // Arrange // Act var horses = HorseService.GetAll(); // Assert Assert.IsAssignableFrom<IEnumerable<Dto.Horse>>(horses); }