public void creates_no_registration() { RegistrationInPharmacyService service = new RegistrationInPharmacyService(Create_stub_repository()); RegistrationInPharmacy registrationInPharmacy = service.createIRegistration(new RegistrationInPharmacyDto(33, "apisa12345", "Jankovic", "NS")); registrationInPharmacy.ShouldBeNull(); }
public void Find_no_registration() { RegistrationInPharmacyService service = new RegistrationInPharmacyService(Create_stub_repository()); RegistrationInPharmacy foundRegistration = service.getPharmacyApiKey("apisa99"); foundRegistration.ShouldBeNull(); }