Bitpay\AccessTokenTest::testEmail PHP Method

testEmail() public method

public testEmail ( )
    public function testEmail()
    {
        $token = new AccessToken();
        $this->assertNotNull($token);
        $token->setEmail('[email protected]');
        $this->assertSame('[email protected]', $token->getEmail());
    }