public void Then_is_ResponseModel()
        {
            // Arrange
            var response = new ResponseModel();

            // Assert
            response.Should().BeOfType <ResponseModel>();
        }
示例#2
0
        public void When_type_is_object_Then_response_can_be_created()
        {
            // Arrange
            var obj = new object();

            // Act
            ResponseModel result = obj.CreateResponse();

            // Assert
            result.Should().BeOfType <ResponseModel>();
        }