for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @project Promopult Integra client library
*/
namespace Promopult\Integra\Test;
class CredentialsTest extends \PHPUnit\Framework\TestCase
{
public function testConstructor()
$identity = new \Promopult\Integra\Credentials('hash', 'key', 'path', 'host');
$this->assertEquals('hash', $identity->getHash());
$this->assertEquals('key', $identity->getCryptKey());
$this->assertEquals('path', $identity->getPartnerPath());
$this->assertEquals('host', $identity->getApiHost());
}