예제 #1
0
        public void creates_no_registration()
        {
            RegistrationInPharmacyService service = new RegistrationInPharmacyService(Create_stub_repository());

            RegistrationInPharmacy registrationInPharmacy = service.createIRegistration(new RegistrationInPharmacyDto(33, "apisa12345", "Jankovic", "NS"));

            registrationInPharmacy.ShouldBeNull();
        }
예제 #2
0
        public void Find_no_registration()
        {
            RegistrationInPharmacyService service = new RegistrationInPharmacyService(Create_stub_repository());

            RegistrationInPharmacy foundRegistration = service.getPharmacyApiKey("apisa99");

            foundRegistration.ShouldBeNull();
        }