public void UserOrGroupKeyValidator_ThrowsOnNullValue() { var target = new UserOrGroupKeyValidator(); target.Validate("test", null); }
public void UserOrGroupKeyValidator_WorksCorrectly_ForGroupKeys() { var target = new UserOrGroupKeyValidator(); target.Validate("test", "gznej3rKEVAvPUxu9vvNnqpmZpokzF"); //Example group key taken from https://pushover.net/api#identifiers }
public void UserOrGroupKeyValidator_ThrowsOnInvalidKey() { var target = new UserOrGroupKeyValidator(); target.Validate("test", "ThisShouldFail"); }
public void UserOrGroupKeyValidator_WorksCorrectly_ForUserKeys() { var target = new UserOrGroupKeyValidator(); target.Validate("test", "uQiRzpo4DXghDmr9QzzfQu27cmVRsG"); //Example user key taken from https://pushover.net/api#identifiers }