Пример #1
0
	/**
	 * @todo Implement testSetLink().
	 */
	public function testSetLink() {
		$this->object = new JDocument;

		$this->object->setLink('My Link String');

		$this->assertThat(
			$this->object->link,
			$this->equalTo('My Link String')
		);
	}
Пример #2
0
 /**
  * @testdox  Test that setLink returns an instance of $this
  */
 public function testEnsureSetLinkReturnsThisObject()
 {
     $this->assertSame($this->object, $this->object->setLink('http://www.joomla.org'));
 }