Bitpay\PublicKeyTest::testCreateFromPrivateKey PHP Method

testCreateFromPrivateKey() public method

    public function testCreateFromPrivateKey()
    {
        $key = PublicKey::createFromPrivateKey($this->getMockPrivateKey());
        $this->assertInstanceOf('Bitpay\\PublicKey', $key);
    }