예제 #1
0
        public void Setup()
        {
            IPersistentMap meta = new DummyMeta();

            _objWithNullMeta = new MockObj();
            _obj = new MockObj(meta);
            _expectedType = typeof(MockObj);
        }
예제 #2
0
        public void Setup()
        {
            IPersistentMap meta = new DummyMeta();

            _objWithNullMeta = new MockObj();
            _obj             = new MockObj(meta);
            _expectedType    = typeof(MockObj);
        }
예제 #3
0
        public void Setup()
        {
            _mocks = new MockRepository();
            IPersistentMap meta = _mocks.StrictMock<IPersistentMap>();
            _mocks.ReplayAll();

            _objWithNullMeta = new MockObj();
            _obj = new MockObj(meta);
            _expectedType = typeof(MockObj);
        }
예제 #4
0
파일: ObjTests.cs 프로젝트: ryrency/Misc
        public void Setup()
        {
            _mocks = new MockRepository();
            IPersistentMap meta = _mocks.StrictMock <IPersistentMap>();

            _mocks.ReplayAll();

            _objWithNullMeta = new MockObj();
            _obj             = new MockObj(meta);
            _expectedType    = typeof(MockObj);
        }