Ejemplo n.º 1
0
	/**
	 * @todo Implement testGetLink().
	 */
	public function testGetLink() {
		$this->object = new JDocument;

		$this->object->link = 'My Link String';

		$this->assertThat(
			$this->object->getLink(),
			$this->equalTo('My Link String')
		);
	}
Ejemplo n.º 2
0
 /**
  * @testdox  Test the default return for getLink
  */
 public function testTheDefaultReturnForGetLink()
 {
     $this->assertEmpty($this->object->getLink());
 }