Beispiel #1
0
 public function testDelete()
 {
     $adapter = new SqsAdapter($this->client, 'foo');
     $url = $this->stubCreateQueue('foo');
     $this->client->shouldReceive('deleteQueue')->once()->with(['QueueUrl' => $url])->andReturn($this->model);
     assertThat($adapter->delete(), is(nullValue()));
 }