public function testGetOption() { $this->input->getOption('name')->willReturn('OK')->shouldBeCalled(); $this->assertEquals('OK', $this->io->getOption('name')); }