public void ResetMeta_sets_meta()
        {
            IPersistentMap meta = new DummyMeta();

            ConcreteAReference c = new ConcreteAReference();
            c.resetMeta(meta);

            Expect(c.meta(), EqualTo(meta));
        }
Exemple #2
0
        public void ResetMeta_sets_meta()
        {
            IPersistentMap meta = new DummyMeta();

            ConcreteAReference c = new ConcreteAReference();

            c.resetMeta(meta);

            Expect(c.meta(), EqualTo(meta));
        }
        public void ResetMeta_sets_meta()
        {
            MockRepository mocks = new MockRepository();
            IPersistentMap meta = mocks.StrictMock<IPersistentMap>();
            mocks.ReplayAll();

            ConcreteAReference c = new ConcreteAReference();
            c.resetMeta(meta);

            Expect(c.meta(), EqualTo(meta));
            mocks.VerifyAll();
        }
Exemple #4
0
        public void ResetMeta_sets_meta()
        {
            MockRepository mocks = new MockRepository();
            IPersistentMap meta  = mocks.StrictMock <IPersistentMap>();

            mocks.ReplayAll();

            ConcreteAReference c = new ConcreteAReference();

            c.resetMeta(meta);

            Expect(c.meta(), EqualTo(meta));
            mocks.VerifyAll();
        }