public void Setup() { IPersistentMap meta = new DummyMeta(); PersistentTreeSet m = PersistentTreeSet.create(RT.seq(PersistentVector.create("a", "b"))); _objWithNullMeta = (IObj)m; _obj = _objWithNullMeta.withMeta(meta); _expectedType = typeof(PersistentTreeSet); }
public void Setup() { _mocks = new MockRepository(); IPersistentMap meta = _mocks.StrictMock <IPersistentMap>(); _mocks.ReplayAll(); PersistentTreeSet m = PersistentTreeSet.create("a", "b"); _objWithNullMeta = (IObj)m; _obj = _objWithNullMeta.withMeta(meta); _expectedType = typeof(PersistentTreeSet); }