public void OutOfRangeIpAddressIsInvalid() { var client = new Route53Client(); bool valid = client.IsValidIpAddress("300.0.0.1"); Assert.IsFalse(valid); }
public void CanCheckInvalidIpAddress() { var client = new Route53Client(); bool valid = client.IsValidIpAddress("asdfasfd"); Assert.IsFalse(valid); }
public void CanCheckValidIpAddress() { var client = new Route53Client(); bool valid = client.IsValidIpAddress("127.0.0.1"); Assert.IsTrue(valid); }
public void CanUpdateHostname() { const string awsAccessKeyId = @""; const string awsSecretAccessKey = @""; var client = new Route53Client(awsAccessKeyId, awsSecretAccessKey); client.UpdateHostname("ddnsupdater.bespokeindustries.com", "127.0.0.1"); }