Emarref\Jwt\Encryption\AsymmetricTest::testEncryptNoPrivateKey PHP Method

testEncryptNoPrivateKey() public method

    public function testEncryptNoPrivateKey()
    {
        $this->algorithm->expects($this->never())->method('sign');
        $this->encryption->encrypt('myvalue');
    }