public function testDelete()
{
$this->connection->deleteSubscription(Argument::withEntry('foo', 'bar'))->willReturn(null)->shouldBeCalledTimes(1);
$this->subscription->setConnection($this->connection->reveal());
$res = $this->subscription->delete(['foo' => 'bar']);
$this->assertNull($res);
}