/** * @expectedException SAccounts\AccountsException */ public function testGettingBalanceOfADummyAccountTypeWillThrowAnException() { $this->sut = new Account($this->chart, new Nominal('9999'), AccountType::DUMMY(), new StringType('foo')); $this->sut->getBalance(); }