MyTested.WebApi
MyTested.WebApi copied to clipboard
Add invalid request to route testing
For example: The parameters dictionary contains a null entry for parameter of non-nullable type. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Consider also these test cases: https://github.com/M-Yankov/T-Academy/blob/master/Homeworks/WebServicesAndCloud%202015/03.UnitTestsServices/Web-Services-Testing-Demos/BugLogger.RestApi.Tests/MyWebApi/RoutingTests.cs