public void SubDomainModel_FindEntityByIdWithInvalidIncludePaths_ExceptionIsThrown() { ISubDomainModel <TestDummy> testSubject = MockRepository.GeneratePartialMock <SubDomainModel <TestDummy> >(); TestDummy result = testSubject.FindEntityById(42, new string[] { "PropA.PropB", null, "dummy" }); }
public void SubDomainModel_FindEntityByIdWithEmptyIncludePaths_ExceptionIsThrown() { ISubDomainModel <TestDummy> testSubject = MockRepository.GeneratePartialMock <SubDomainModel <TestDummy> >(); TestDummy result = testSubject.FindEntityById(42, new string[0]); }