Bitpay\PublicKeyTest::testGetY PHP Method

testGetY() public method

public testGetY ( )
    public function testGetY()
    {
        foreach ($this->hexKeys as $hexKey) {
            $pubKey = new PublicKey();
            $pubKey->setPrivateKey($this->getMockPrivateKey($hexKey['private']));
            $pubKey->generate();
            $this->assertEquals($hexKey['pub_y'], $pubKey->getY());
        }
    }