Beispiel #1
0
	/**
	 * @todo Implement testParse().
	 */
	public function testParse() {
		$this->object = new JDocument;

		$this->assertThat(
			$this->object->parse(),
			$this->equalTo(null)
		);
	}
	/**
	 * Test...
	 *
	 * @covers  JDocument::parse
	 *
	 * @return void
	 */
	public function testParse()
	{
		$this->object = new JDocument;

		$this->assertThat(
			$this->object->parse(),
			$this->isInstanceOf('JDocument')
		);
	}
Beispiel #3
0
 /**
  * @testdox  Test that parse returns an instance of $this
  */
 public function testEnsureParseReturnsThisObject()
 {
     $this->assertSame($this->object, $this->object->parse());
 }