public void Parameter_AlertType_Deregister_CreatesCorrectUriParameters() { var request = new DeregisterNotificationRequest() { AlertType = 11 }; var parameters = request.GetUriPathParameters(); Assert.That(parameters["type"], Is.EqualTo(11)); }
public void Parameter_ApplicationId_Deregister_CreatesCorrectUriParameters() { var request = new DeregisterNotificationRequest() { ApplicationId = "my.first.application" }; var parameters = request.GetUriPathParameters(); Assert.That(parameters["appid"], Is.EqualTo("my.first.application")); }