protected function BankAccountTest::setUp in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/phpunit/phpunit/tests/_files/BankAccountTest.php \BankAccountTest::setUp()
- 8.0 vendor/phpunit/php-code-coverage/tests/_files/BankAccountTest.php \BankAccountTest::setUp()
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/_files/BankAccountTest.php \BankAccountTest::setUp()
- 8 vendor/phpunit/php-code-coverage/tests/_files/BankAccountTest.php \BankAccountTest::setUp()
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
Overrides PHPUnit_Framework_TestCase::setUp
File
- vendor/
phpunit/ phpunit/ tests/ _files/ BankAccountTest.php, line 20
Class
- BankAccountTest
- Tests for the BankAccount class.
Code
protected function setUp() {
$this->ba = new BankAccount();
}