A simple demo to illustrate how to create your own mock DbSet<T> to do the unit test for WebApi.     NOTICE: The demo is based this article "http://www.asp.net/web-api/overview/testing-and-debugging/mocking-entity-framework-when-unit-testing-aspnet-web-api-2#prereqs"