/** * Tests getProxyPort */ public function testGetProxyPort() { $cb = new CodebirdT(); $this->assertNull($cb->call('_getProxyPort')); $cb->setProxy('127.0.0.1', '8888'); $this->assertEquals('8888', $cb->call('_getProxyPort')); }
/** * Tests getInstance */ public function testGetInstance() { $cb = CodebirdT::getInstance(); $this->assertInstanceOf('\\Codebird\\Codebird', $cb); }