Exemplo n.º 1
0
        public void SubDomainModel_FindEntity_NullExpression_ExceptionIsThrown()
        {
            ISubDomainModel <TestDummy> testSubject = MockRepository.GeneratePartialMock <SubDomainModel <TestDummy> >();

            TestDummy result = testSubject.FindEntity((Expression <Func <TestDummy, bool> >)null);
        }
Exemplo n.º 2
0
        public void SubDomainModel_FindEntity_NullSpecification_ExceptionIsThrown()
        {
            ISubDomainModel <TestDummy> testSubject = MockRepository.GeneratePartialMock <SubDomainModel <TestDummy> >();

            TestDummy result = testSubject.FindEntity((ISpecification <TestDummy>)null);
        }