public async Task HaveIBeenPND_PrefixNotFound_ReturnsNull() { // Arrange IHaveIBeenPNDClient client = new MockHaveIBeenPNDClientEmpty(); IHaveIBeenPNDService service = new HaveIBeenPNDService(client); string password = "******"; // Act PNDPassword?pndPassword = await service.HaveIBeenPND(password); // Assert Assert.IsNull(pndPassword); }
public async Task HaveIBeenPND_EmptyPassword_ReturnsNull() { // Arrange IHaveIBeenPNDClient client = new MockHaveIBeenPNDClient(); IHaveIBeenPNDService service = new HaveIBeenPNDService(client); string password = ""; // Act PNDPassword?pndPassword = await service.HaveIBeenPND(password); // Assert Assert.IsNull(pndPassword); }