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(); }
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(); }