@covers BankAccount::depositMoney @group balanceCannotBecomeNegative @group specification
public function testBalanceCannotBecomeNegative2() {
try {
$this->ba
->depositMoney(-1);
} catch (BankAccountException $e) {
$this
->assertEquals(0, $this->ba
->getBalance());
return;
}
$this
->fail();
}