/** * Ensure that the fixture baking can be disabled * * @return void */ public function testBakeFixtureDisabled() { $this->Task->params['no-fixture'] = true; $this->Task->plugin = 'TestBake'; $this->Task->Fixture->expects($this->never())->method('bake'); $this->Task->bakeFixture('BakeArticle', 'bake_articles'); }