/** * @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') ); }
/** * @testdox Test that parse returns an instance of $this */ public function testEnsureParseReturnsThisObject() { $this->assertSame($this->object, $this->object->parse()); }