assertEquals('Address/Domain has been added to the whitelists table', $model->getMessage()); $this->assertEquals('domain', $model->getType()); $this->assertEquals('example.com', $model->getValue()); } }