/** * tests config setup, relies on an alternate testing config to be defined, * these properties should all point to the batchmake module testfiles dirs. */ public function testIsConfigCorrect() { // start out with known correct set $this->assertTrue($this->kwBatchmakeComponent->isConfigCorrect()); // now make a change to something that shouldn't work $badConfigVals = $this->setupAndGetConfig(); $badConfigVals[MIDAS_BATCHMAKE_DATA_DIR_PROPERTY] = '/unlikely/to/work/right'; $badKwBatchmakeComponent = new Batchmake_KWBatchmakeComponent($badConfigVals); $this->assertFalse($badKwBatchmakeComponent->isConfigCorrect()); }