コード例 #1
0
 /**
  * Tests the JApplicationCms::getRouter method.
  *
  * @return  void
  *
  * @since   3.2
  */
 public function testGetRouter()
 {
     $this->assertInstanceOf('JRouter', $this->class->getRouter(''));
 }
コード例 #2
0
 /**
  * Tests the JApplicationCms::getRouter method.
  *
  * @return  void
  *
  * @since   3.2
  */
 public function testGetRouter()
 {
     $this->assertThat($this->class->getRouter(''), $this->isInstanceOf('JRouter'));
 }