public override IQueue <string> CreateValue(int key)
        {
            var queue = new Elephant.Memory.Queue <string>();

            queue.EnqueueAsync(Fixture.Create <string>()).Wait();
            queue.EnqueueAsync(Fixture.Create <string>()).Wait();
            queue.EnqueueAsync(Fixture.Create <string>()).Wait();
            return(queue);
        }
Exemple #2
0
        public override IQueue <Item> CreateValue(Guid key)
        {
            var queue = new Elephant.Memory.Queue <Item>();

            queue.EnqueueAsync(Fixture.Create <Item>()).Wait();
            queue.EnqueueAsync(Fixture.Create <Item>()).Wait();
            queue.EnqueueAsync(Fixture.Create <Item>()).Wait();
            return(queue);
        }