public void DeviceNameValidator_ThrowsOnInvalidKey() { var target = new DeviceNameValidator(); target.Validate("test", "Th!s$houldFa!l"); }
public void DeviceNameValidator_ThrowsOnNullValue() { var target = new DeviceNameValidator(); target.Validate("test", null); }
public void DeviceNameValidator_WorksCorrectly() { var target = new DeviceNameValidator(); target.Validate("test", "droid2"); //Example devicename taken from https://pushover.net/api#registration }