Example #1
0
        public void TestPutItem()
        {
            var o = new ObjectStub();

            itemStoreMock.Expect(m => m.Store(o));
            manager.PutItem(o);
        }
Example #2
0
 public int Release(T item)
 {
     lock (manager)
     {
         manager.PutItem(item);
         count++;
         poolSemaphore.Release();
         return(Count);
     }
 }