/**
  * @test
  *
  * @covers Pipedrive\Services\BrokerProvider::register
  */
 public function shouldRegisterBrokerClient()
 {
     $this->serviceProvider->expects($this->once())->method('register')->willReturnCallback(function (Application $app) {
         $app['broker.client'] = $this->getMock(\Redis::class, [], [], '', false);
     });
     $app = new Application();
     $app->register($this->serviceProvider);
     $this->assertInstanceOf(\Redis::class, $app['broker.client']);
 }