/** * @dataProvider boolProvider * * @param $switch */ public function testMakeCopy($switch) { $options = $this->getOptionsMock(); $options->expects($this->once())->method('isSwitch')->with('copy')->willReturn($switch); $commandConfig = new InstallCommandConfig($options, $this->getConfigMock(), $this->getPhiveXmlConfigMock()); $this->assertSame($switch, $commandConfig->makeCopy()); }