Namshi\JOSE\Test\OpenSSL\Signer\KeyFormatTest::testBadStringKeyThrowsException PHP Method

testBadStringKeyThrowsException() public method

    public function testBadStringKeyThrowsException()
    {
        $this->expectException(\RuntimeException::class);
        $this->signer->sign('aaa', $this->badPrivateKeyString);
    }