public void Can_clear_all_messages_from_the_queue()
{
var endpoint = string.Empty; ;
Client.PostResponse = (e, body) =>
{
endpoint = e;
return "{ msg : 'Cleared' }";
};
Client.Queue<Stub>().Clear();
endpoint.Should().Be("queues/Blacksmith.Tests.ClientTests+Stub/clear");
}