예제 #1
0
 public function testGetGroupsCommonURL()
 {
     $url = $this->instance->getGroupsCommonURL(array('foo', 'bar'), array(), true, true);
     $this->assertEquals(1, count($url));
     $this->assertContains('__am', $url[0]);
     $this->assertContains("/{$this->cb}/", $url[0]);
     $this->assertContains('foo,bar', $url[0]);
 }