예제 #1
0
        public async Task GetCondition_ReturnsBadRequestResponse_GivenInvalidFieldsParameter()
        {
            //Arrange
            string fields = "Invalid";

            //Act
            var response = await _controller.GetCondition(Guid.Empty, fields, null);

            //Assert
            Assert.IsType <BadRequestResult>(response);
        }