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

		$this->object->setTab('Crazy Indent');

		$this->assertThat(
			$this->object->_tab,
			$this->equalTo('Crazy Indent')
		);

	}
Пример #2
0
 /**
  * @testdox  Test that setTab with a custom param returns an instance of $this
  */
 public function testEnsureSetTabReturnsThisObject()
 {
     $this->assertSame($this->object, $this->object->setTab("\t"));
 }