public function testGetVariableInstancesCountWithGet()
 {
     $restService = new camundaRestClient(self::$restApi);
     $vic = $restService->getVariableInstancesCount()->count;
     $this->assertGreaterThan(0, $vic);
     $vic = $restService->getVariableInstancesCount(null, true)->count;
     $this->assertGreaterThan(0, $vic);
     $vir = array('variableName' => 'amount');
     $vic = $restService->getVariableInstancesCount($vir, true)->count;
     $this->assertGreaterThan(0, $vic);
     $vir = array('variableName' => 'haha');
     $vic = $restService->getVariableInstancesCount($vir, true)->count;
     $this->assertEquals(0, $vic);
 }