예제 #1
0
        public void SubDomainModel_FindEntityByIdWithInvalidIncludePaths_ExceptionIsThrown()
        {
            ISubDomainModel <TestDummy> testSubject = MockRepository.GeneratePartialMock <SubDomainModel <TestDummy> >();

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

            TestDummy result = testSubject.FindEntityById(42, new string[0]);
        }