Changeset 812

Show
Ignore:
Timestamp:
08/14/07 13:49:01 (1 year ago)
Author:
mikey
Message:

added one more test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/test/php/net/stubbles/websites/memphis/stubMemphisIncludeFilePageElementTestCase.php

    r811 r812  
    8383        $this->assertEqual($this->includeFilePageElement->process($this->mockRequest, $this->mockSession, $this->mockResponse), 'This is the content.'); 
    8484    } 
     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    } 
    8595} 
    8696?>