/** * Enables self initializing fixtures (disabled by default) * * @param string $fixturePath */ public function useFixtures($fixturePath) { if ($fixturePath) { $this->_fixturePath = FileFixture::normalizePath($fixturePath); } else { $this->disableFixtures(); } }
public function testNormalizePathException() { $this->setExpectedException('TestTools\\Fixture\\Exception\\FixtureInvalidDirectoryException'); FileFixture::normalizePath('/a/b/c'); }