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)); }
private object Subject() { return(SubjectFixtureProvider.Value()); }
private IoAdapter Factory() { return((IoAdapter)SubjectFixtureProvider.Value()); }
private IStorage Storage() { return((IStorage)SubjectFixtureProvider.Value()); }
private ItemCounts ItemCounts() { return((ItemCounts)SubjectFixtureProvider.Value()); }
public static object Subject() { return((object)SubjectFixtureProvider.Value()); }
private bool UseIndices() { return((bool)SubjectFixtureProvider.Value()); }
private Pair Subject() { return((Pair)SubjectFixtureProvider.Value()); }
private int BlockSize() { return((int)SubjectFixtureProvider.Value()); }
private IDictionary Subject() { return((IDictionary)SubjectFixtureProvider.Value()); }
private CollectionHolder Subject() { SingleTypeCollectionReplicationTest.CollectionHolderFactory factory = (SingleTypeCollectionReplicationTest.CollectionHolderFactory )SubjectFixtureProvider.Value(); return(factory.NewCollectionHolder()); }
public override object CreateItem() { return(new RootContainer("ROOT", (IEnumerable)SubjectFixtureProvider.Value())); }