本文整理汇总了PHP中CMTest_TH::createGeoPoint方法的典型用法代码示例。如果您正苦于以下问题:PHP CMTest_TH::createGeoPoint方法的具体用法?PHP CMTest_TH::createGeoPoint怎么用?PHP CMTest_TH::createGeoPoint使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CMTest_TH
的用法示例。
在下文中一共展示了CMTest_TH::createGeoPoint方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: testConstructorAndBasicGetters
public function testConstructorAndBasicGetters()
{
$serverId = 1;
$key = 'server-key';
$httpAddress = 'http://api';
$webSocketAddress = 'ws://connect:8810';
$pluginList = ['my-plugin'];
$location = CMTest_TH::createGeoPoint();
$iceServerList = ['ice-server'];
$server = new CM_Janus_Server($serverId, $key, $httpAddress, $webSocketAddress, $pluginList, $location, $iceServerList);
$this->assertSame($serverId, $server->getId());
$this->assertSame($key, $server->getKey());
$this->assertSame($httpAddress, $server->getHttpAddress());
$this->assertSame($webSocketAddress, $server->getWebSocketAddress());
$this->assertSame($pluginList, $server->getPluginList());
$this->assertSame($location, $server->getLocation());
$this->assertSame($iceServerList, $server->getIceServerList());
}