Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }