public function testCreateUnauthenticatedClient() { $target = new KnpLabsClientFactory(); $result = $target->createUnauthenticatedClient(); self::assertInstanceOf('Github\\Client', $result); }