public void RequestOnly(SmokeTestRequest request) { Assert.IsNotNull(request); Assert.AreEqual(true, request.BoolValue); Assert.AreEqual(byte.MaxValue, request.ByteValue); Assert.AreEqual(int.MaxValue, request.IntValue); Assert.AreEqual("string123中文abc", request.StringValue); }
public SmokeTestResponse RequestAndResponse(SmokeTestRequest request) { return new SmokeTestResponse { BoolValue = request.BoolValue, ByteValue = request.ByteValue, IntValue = request.IntValue, StringValue = request.StringValue, }; }
public void NullRequest(SmokeTestRequest request) { Assert.IsNull(request); }