Feb 16, 2015 09:04 AM|Shawn - MSFT|LINK
For this situation, if you want to use unit testing controllers in ASP.NET Web API, you could refer to the following links for more information.
This guidance within the following links demonstrate how to create simple unit tests for your Web API application and also show how to include a unit test project in your solution, and write test methods that check the returned values from
a controller method:
Here is also a sample: