Changeset 1729
- Timestamp:
- 07/22/08 01:15:57 (1 month ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
labs/incubator/src/test/php/net/stubbles/util/date/stubDateTestCase.php
r1727 r1729 147 147 /** 148 148 * date handling should work as expected 149 * 150 * @test 149 151 */ 150 152 public function dateHandling() 151 153 { 152 $this->assertEquals($this->timestamp, $this->date->getTime ());154 $this->assertEquals($this->timestamp, $this->date->getTimestamp()); 153 155 $this->assertEquals(date('r', $this->timestamp), $this->date->format('r')); 154 156 $this->assertTrue($this->date->isAfter(new stubDate('yesterday')));
