Changeset 812
- Timestamp:
- 08/14/07 13:49:01 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/test/php/net/stubbles/websites/memphis/stubMemphisIncludeFilePageElementTestCase.php
r811 r812 83 83 $this->assertEqual($this->includeFilePageElement->process($this->mockRequest, $this->mockSession, $this->mockResponse), 'This is the content.'); 84 84 } 85 86 /** 87 * assure that processing works as expected 88 */ 89 public function testProcessNonExistingIncludeFile() 90 { 91 $this->includeFilePageElement->setSource(TEST_SRC_PATH . '/resources/doesNotExist'); 92 $this->expectException('stubException'); 93 $this->includeFilePageElement->process($this->mockRequest, $this->mockSession, $this->mockResponse); 94 } 85 95 } 86 96 ?>
