public void MetaCtorHasMeta() { MockRepository mocks = new MockRepository(); IPersistentMap meta = mocks.StrictMock <IPersistentMap>(); mocks.ReplayAll(); CPV v = new CPV(meta, new object[] { 1, 2, 3 }); Expect(v.meta(), SameAs(meta)); mocks.VerifyAll(); }
public void NoMetaCtorHasNoMeta() { CPV v = new CPV(new object[] { 1, 2, 3 }); Expect(v.meta(),Null); }
public void MetaCtorHasMeta() { MockRepository mocks = new MockRepository(); IPersistentMap meta = mocks.StrictMock<IPersistentMap>(); mocks.ReplayAll(); CPV v = new CPV(meta,new object[] { 1, 2, 3 }); Expect(v.meta(), SameAs(meta)); mocks.VerifyAll(); }
public void NoMetaCtorHasNoMeta() { CPV v = new CPV(new object[] { 1, 2, 3 }); Expect(v.meta(), Null); }