public function testSeriousParticipationBlock() { $company = new Company(); $company->setDeposit(10000); $procedure = new Procedure(); $procedure->setStartPrice(100000); $app = new Application($company, $procedure); $app->blockMoney(new SeriousBlocker()); $this->assertEquals(0, $company->getDeposit(), 'Deposit must be 0'); $app->unblockMoney(new SeriousBlocker()); $this->assertEquals(10000, $company->getDeposit(), 'Deposit must be 10000'); }