/** * @test */ public function thatUpdate() { $branch = new Branch('DUMM', 'DUMMY_NAME', 'DUMMY_DESC'); $branchEmailConfiguration = new BranchEmailConfiguration($branch, self::DUMMY_CUSTOMER_DOMAINS, self::DUMMY_SUPPORT_ADDRESS); $branchEmailConfiguration->update('New Customer Domains', 'New Support Address'); $this->assertEquals('New Customer Domains', $branchEmailConfiguration->getCustomerDomains()); $this->assertEquals('New Support Address', $branchEmailConfiguration->getSupportAddress()); }