/** * @param int $api * @return $this * @throws \PowerLinks\OpenRtb\Tools\Exceptions\ExceptionInvalidValue */ public function addApi($api) { $this->validateIn($api, ApiFrameworks::getAll()); $this->api[] = $api; return $this; }
public function testGetAll() { $result = ApiFrameworks::getAll(); $this->assertTrue(is_array($result)); }