public function testParseNothing() { $generator = $this->args->parse(0, []); $this->assertInstanceOf("Generator", $generator); foreach ($generator as $error) { throw new \Exception("Unexpected parse error: {$error}"); } }