private async void Une_capsule() { var mockRepo = new MockCapsulesInformativesRepository(); var signalements = await mockRepo.GetAll(); _capsuleInformative = signalements.First(); }
public CapsulesInformativesUnitTests() { //Arrange _mockRepo = new MockCapsulesInformativesRepository(); _capsuleInformativesController = new CapsuleInformativesController(_mockRepo); }