SevenShores\Hubspot\Tests\Integration\Resources\OwnersTest::create PHP Метод

create() публичный Метод

public create ( )
    public function create()
    {
        $email = uniqid('test_email') . '@hubspot.com';
        $response = $this->createOwner($email);
        $this->assertEquals(200, $response->getStatusCode());
        $this->assertEquals('Testing', $response['firstName']);
        $this->assertEquals('Owner', $response['lastName']);
        $this->assertEquals($email, $response['email']);
        $this->assertEquals(62515, $response['portalId']);
    }