/** * @tests */ public function it_converts_uuid_like_strings_to_uuid_object() { $arguments = $this->sut->process(['b1b250a0-938a-48f6-b0ca-0aeccff1288e']); \PHPUnit_Framework_Assert::assertTrue(Uuid::fromString('b1b250a0-938a-48f6-b0ca-0aeccff1288e')->equals($arguments[0])); }
public function setUp() { $this->commandCollector = $this->prophesize(CommandCollector::class); $this->argumentsProcessor = $this->prophesize(ArgumentsProcessor::class); $this->sut = new CommandLauncher($this->commandCollector->reveal(), $this->argumentsProcessor->reveal()); }