Account::getAccountID PHP Method

getAccountID() public method

public getAccountID ( )
    public function getAccountID()
    {
        return $this->accountID;
    }

Usage Example

Beispiel #1
0
 public function testAccessorMethods()
 {
     $validAccount = new Account(AccountTest::$validInput);
     $validAccount2 = new Account(AccountTest::$validInput2);
     $this->assertEquals(AccountTest::$validInput['profileID'], $validAccount->getProfileID(), 'It should return a value for field "profileID" that matches the provided input');
     $this->assertEquals(null, $validAccount2->getProfileID(), 'It should return a value for field "profileID" that matches the provided input');
     $this->assertEquals(AccountTest::$validInput['accountID'], $validAccount->getAccountID(), 'It should return a value for field "accountID" that matches the provided input');
     $this->assertEquals(AccountTest::$validInput2['accountID'], $validAccount2->getAccountID(), 'It should return a value for field "accountID" that matches the provided input');
 }