public void TestGetDuplicateParametersDefaultSender(SpecialData.Parameters parameter, Values value) { var handler = new UserManager(); var response = handler.Execute <User>(GetDuplicateParameters[value][parameter], string.Empty, System.Net.Http.HttpMethod.Get); PrAssert.That(response, PrIs.SuccessfulResponse().And.HttpCode(System.Net.HttpStatusCode.OK)); }
public void TestPutDuplicateParameters(SpecialData.Parameters parameter, Values value) { var handler = new MergeSettingsManager(); var response = handler.MergeSettings <MergeSettingsResponse>(value == Values.Same ? PutDuplicateParametersSameValue[parameter] : PutDuplicateParametersNotSameValue[parameter], System.Net.Http.HttpMethod.Put); PrAssert.That(response, PrIs.SuccessfulResponse().And.HttpCode(System.Net.HttpStatusCode.NoContent)); }
public void TestPutDuplicateParametersDefaultSender(SpecialData.Parameters parameter, Values value) { var handler = new UserManager(); var response = handler.Execute <User>(value == Values.Same ? PutDuplicateParametersSameValue[parameter] : PutDuplicateParametersNotSameValue[parameter], System.Net.Http.HttpMethod.Put); PrAssert.That(response, PrIs.SuccessfulResponse().And.HttpCode(System.Net.HttpStatusCode.NoContent)); }