public void PeekShouldReturnNull()
        {
            // given
            var queue = new DefaultBlockingQueue <string>();

            // when
            var item = queue.Peek();

            // then
            Check.That(item).IsNull();
        }
        public void PeekShouldReturnValueWithoutDequeue()
        {
            // given
            var queue = new DefaultBlockingQueue <string>();

            queue.Offer("test");

            // when
            var item = queue.Peek();

            // then
            Check.That(item).IsEqualTo("test");
            Check.That(queue).HasSize(1);
        }