protected function afterCreate($entity) { $this->assertEquals($this->email . '@test.com', $entity['email']); }