Exemplo n.º 1
0
 /**
  * @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;
 }
Exemplo n.º 2
0
 public function testGetAll()
 {
     $result = ApiFrameworks::getAll();
     $this->assertTrue(is_array($result));
 }