public void Can_get_size_of_the_queue() { Client.GetResponse = (e) => "{ 'size' : '5' }"; Client.Queue<Stub>().Size().Should().Be(5); }