public function BankAccountTest::testBalanceIsInitiallyZero in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/phpunit/phpunit/tests/_files/BankAccountTest.php \BankAccountTest::testBalanceIsInitiallyZero()
- 8.0 vendor/phpunit/php-code-coverage/tests/_files/BankAccountTest.php \BankAccountTest::testBalanceIsInitiallyZero()
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/_files/BankAccountTest.php \BankAccountTest::testBalanceIsInitiallyZero()
- 8 vendor/phpunit/php-code-coverage/tests/_files/BankAccountTest.php \BankAccountTest::testBalanceIsInitiallyZero()
@covers BankAccount::getBalance @group balanceIsInitiallyZero @group specification
File
- vendor/
phpunit/ phpunit/ tests/ _files/ BankAccountTest.php, line 30
Class
- BankAccountTest
- Tests for the BankAccount class.
Code
public function testBalanceIsInitiallyZero() {
$this
->assertEquals(0, $this->ba
->getBalance());
}