public function getPublicKey() { return $this->public_key; }
/** * Is public key valid? */ public function testPublicKeyValid() { $api = new Api(UC_PUBLIC_KEY, UC_SECRET_KEY); $this->assertTrue($api->getPublicKey() == 'demopublickey', 'This is true'); }