public async Task InsertTest() { var fakeRepository = Mock.Of <IPrescriptionRepository>(); var prescriptionService = new PrescriptionService(fakeRepository); var prescription = new Prescription() { PatientName = "Dias", Instruction = "Not for a child", Frequency = "2 times a day" }; await prescriptionService.Insert(prescription); }