/**
  * @dataProvider updateOrganizer
  */
 public function testUpdateOrganizerStatus($organizerKey, $isActive)
 {
     $client = $this->getMockBuilder('Client')->setMethods(array('sendRequest'))->getMock();
     $requestBody = array('status' => $isActive ? 'active' : 'suspended');
     $client->expects($this->once())->method('sendRequest')->with($this->equalTo('PUT'), $this->logicalAnd($this->stringStartsWith('organizers'), $this->stringEndsWith($organizerKey)), null, false, $requestBody);
     $organizerService = new OrganizerService($client);
     $organizerService->updateOrganizerStatus($organizerKey, $isActive);
 }