This is the unit testing framework for Sitecore that enables creation and manipulation of Sitecore content in memory. It is designed to minimize efforts for the test content initialization keeping focus on the minimal test data rather than comprehensive content tree representation.
Go to the wiki pages and check the numerous code samples.
Install the Sitecore.FakeDb NuGet package and follow simple installation instructions.