public async Task <GetPPStateResp> GetPPStateAsync(int ppn, CancellationToken cancellationToken) { var request = new GetPPState { Ppn = ppn }; var response = await SendAsync <GetPPState, GetPPStateResp>(request, cancellationToken).ConfigureAwait(false); return(response); }
public void CanSerializedGetPPState() { var getPPState = new GetPPState { Ppn = 600 }; var xml = _serializer.Serialize(getPPState); Assert.AreEqual("<GetPPState ppn=\"600\" />", xml); }