public function testParseAuthorStringWithInvalidEmail() { $command = new InitCommand(); $this->setExpectedException('InvalidArgumentException'); $command->parseAuthorString('John Smith <john>'); }