You are here

public function BankAccountWithCustomExtensionTest::testBalanceIsInitiallyZero in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/BankAccountTest.test.php \BankAccountWithCustomExtensionTest::testBalanceIsInitiallyZero()

@covers BankAccount::getBalance @group balanceIsInitiallyZero @group specification

File

vendor/phpunit/phpunit/tests/_files/BankAccountTest.test.php, line 30

Class

BankAccountWithCustomExtensionTest
Tests for the BankAccount class.

Code

public function testBalanceIsInitiallyZero() {
  $this
    ->assertEquals(0, $this->ba
    ->getBalance());
}