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

		$this->object->_mdate = '2010-06-22';

		$this->assertThat(
			$this->object->getModifiedDate(),
			$this->equalTo('2010-06-22')
		);
	}
Пример #2
0
 /**
  * @testdox  Test the default return for getModifiedDate
  */
 public function testTheDefaultReturnForGetModifiedDate()
 {
     $this->assertEmpty($this->object->getModifiedDate());
 }