/** * @test */ public function removeAccountRemovesAccountFromAccountsCollection() { $account = new Account(); $this->mockAccounts->expects($this->once())->method('removeElement')->with($account); $this->abstractParty->removeAccount($account); }