public void Constructor_SetsStatusCode() { var expectedFields = new TestResponseFields(); var response = new IsResponse <TestResponseFields>(expectedFields); Assert.AreSame(expectedFields, response.Fields); }
public void TestResponse_Constructor_SetsFields() { var expectedFields = new TestResponseFields(); var response = new ProxyResponse <TestResponseFields>(expectedFields); Assert.AreSame(expectedFields, response.Fields); }
public void Constructor_SetsStatusCode() { var expectedFields = new TestResponseFields(); var response = new IsResponse<TestResponseFields>(expectedFields); Assert.AreSame(expectedFields, response.Fields); }