GetAccountNumber() public method

public GetAccountNumber ( ) : int
return int
 public void ShouldNotBeAbleToCreateATargetAccountWithAccountAndAllocationPercentage()
 {
     var account = new Account(new AccountId(12345678), new ClientId("ABC123"))
                           {Balance = 100, LastUpdatedDate = DateTime.Now};
     var targetAccount = new TargetAccount(account, 2);
     Assert.AreEqual(targetAccount.GetAccountNumber(), account.GetAccountNumber());
 }