public function testPassSettingsToPayload()
{
$launcher = new Launcher($this->factory->reveal(), $this->finder->reveal(), $bootstrap = __DIR__ . '/../../../../vendor/autoload.php', '/path/to/php', $phpConfig = ['setting_1' => 'value_1', 'setting_2' => 'value_2'], 'wrapper');
$this->factory->create(__FILE__, ['bootstrap' => $bootstrap], '/path/to/php')->willReturn($this->payload->reveal());
$this->payload->setWrapper('wrapper')->shouldBeCalled();
$this->payload->setPhpConfig($phpConfig)->shouldBeCalled();
$launcher->payload(__FILE__, []);
}