/** * Tests getApiMethods */ public function testGetApiMethods() { $cb = new CodebirdT(); $methods = $cb->getApiMethods(); $this->assertArrayHasKey('GET', $cb->getStatic('_api_methods')); $this->assertArrayHasKey('POST', $cb->getStatic('_api_methods')); $this->assertArrayHasKey('PUT', $cb->getStatic('_api_methods')); $this->assertArrayHasKey('DELETE', $cb->getStatic('_api_methods')); $this->assertEquals($methods, $cb->getStatic('_api_methods')); }