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