Пример #1
0
	/**
	 * @todo Implement testGetType().
	 */
	public function testGetType() {
		$this->object = new JDocument;
		$this->object->_type = 'raw';
		$this->assertThat(
			$this->object->getType(),
			$this->equalTo('raw'),
			'JDocument->getType failed'
		);
	}
Пример #2
0
 /**
  * @testdox  Test the default return for getType is null
  */
 public function testTheDefaultReturnForGetTypeIsNull()
 {
     $this->assertNull($this->object->getType());
 }