Composer\Test\Command\InitCommandTest::testParseAuthorStringWithInvalidEmail PHP Метод

testParseAuthorStringWithInvalidEmail() публичный Метод

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