public void LoginTest() { MembershipServiceClientProxy target = new MembershipServiceClientProxy(_serviceBaseUrl); LoginRequest loginReq = new LoginRequest { Email = "*****@*****.**", Password = "******" }; LoginResponse actual = target.Login(loginReq); Assert.IsTrue(actual.Success); }
public LoginResponse Login(LoginRequest loginReq) { return HttpRequestAdapter.WebHttpPostRequest<LoginResponse>(_serviceBaseUrl, MethodBase.GetCurrentMethod().Name, loginReq); }