public void All_should_return_all_entities_of_given_type() { var testClass = new TestClass { Id = 1, Name = "Test name", Description = "Test Description" }; var testClass2 = new TestClass { Id = 2, Name = "Test name 2", Description = "Test Description 2" }; _fileStorage.Store(testClass); _fileStorage.Store(testClass2); var testClasses = _fileStorage.All <TestClass>(); testClasses.ShouldAllBeEquivalentTo(new [] { testClass, testClass2 }); }