예제 #1
0
        public virtual void TestProduce()
        {
            object  obj   = new object();
            ICache4 cache = ((ICache4)SubjectFixtureProvider.Value());
            object  value = cache.Produce(1, new _IFunction4_39(obj), null);

            Assert.AreSame(obj, value);
            Assert.AreSame(obj, cache.Produce(1, null, null));
        }
예제 #2
0
 private object Subject()
 {
     return(SubjectFixtureProvider.Value());
 }
예제 #3
0
 private IoAdapter Factory()
 {
     return((IoAdapter)SubjectFixtureProvider.Value());
 }
예제 #4
0
 private IStorage Storage()
 {
     return((IStorage)SubjectFixtureProvider.Value());
 }
예제 #5
0
 private ItemCounts ItemCounts()
 {
     return((ItemCounts)SubjectFixtureProvider.Value());
 }
예제 #6
0
 public static object Subject()
 {
     return((object)SubjectFixtureProvider.Value());
 }
예제 #7
0
 private bool UseIndices()
 {
     return((bool)SubjectFixtureProvider.Value());
 }
예제 #8
0
 private Pair Subject()
 {
     return((Pair)SubjectFixtureProvider.Value());
 }
예제 #9
0
 private int BlockSize()
 {
     return((int)SubjectFixtureProvider.Value());
 }
예제 #10
0
 private IDictionary Subject()
 {
     return((IDictionary)SubjectFixtureProvider.Value());
 }
 private CollectionHolder Subject()
 {
     SingleTypeCollectionReplicationTest.CollectionHolderFactory factory = (SingleTypeCollectionReplicationTest.CollectionHolderFactory
                                                                            )SubjectFixtureProvider.Value();
     return(factory.NewCollectionHolder());
 }
예제 #12
0
 public override object CreateItem()
 {
     return(new RootContainer("ROOT", (IEnumerable)SubjectFixtureProvider.Value()));
 }