public void DeleteAllDogsShouldRemoveDog() { var dogDto = new DogDto { Breed = DogBreed.German_Shepherd, Name = "Major", ImageData = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", }; for (int i = 0; i < 100; ++i) { _ = Controller.PostDog(dogDto, apiVersion); } var result = Controller.DeleteAllDogs(apiVersion); Assert.IsType <NoContentResult>(result); Assert.Throws <NotFoundException>(() => Controller.GetDog(1, apiVersion)); }