Ejemplo n.º 1
0
        public void Constructor_SetsStatusCode()
        {
            var expectedFields = new TestResponseFields();
            var response       = new IsResponse <TestResponseFields>(expectedFields);

            Assert.AreSame(expectedFields, response.Fields);
        }
Ejemplo n.º 2
0
        public void TestResponse_Constructor_SetsFields()
        {
            var expectedFields = new TestResponseFields();
            var response       = new ProxyResponse <TestResponseFields>(expectedFields);

            Assert.AreSame(expectedFields, response.Fields);
        }
Ejemplo n.º 3
0
 public void Constructor_SetsStatusCode()
 {
     var expectedFields = new TestResponseFields();
     var response = new IsResponse<TestResponseFields>(expectedFields);
     Assert.AreSame(expectedFields, response.Fields);
 }