public void Possible_To_Login_With_Valid_Credentials() { var response = webShopClient .Login("user", "password") .Result; Assert.IsNotNull(response, "Login was not successful"); }
public void Possible_To_Get_Orders_If_Signed_In() { var response = webShopClient .Login("user", "password") .Result .GetOrders() .Result; Assert.IsNotNull(response); }
public void Possible_To_Check_Health() { //never works ^^ var response = webShopClient .Login("user", "password") .Result .GetHealth() .Result; Assert.IsInstanceOfType(response, typeof(GetHealthResponse)); }