/** * @depends testSetGet */ public function testHasProvider() { $collection = new Collection(); $clientName = 'testClientName'; $clients = [$clientName => ['class' => 'TestClient1']]; $collection->setClients($clients); $this->assertTrue($collection->hasClient($clientName), 'Existing client check fails!'); $this->assertFalse($collection->hasClient('unExistingClientName'), 'Not existing client check fails!'); }