protected function afterUpdate($entity) { $this->assertEquals($this->email . '[email protected]', $entity['email']); }