/** * Testing the getDataLabel method. * * @since 1.0 * @dataProvider getActiveRecordProviders */ public function testGetDataLabel($provider) { $config = ConfigProvider::getInstance(); $config->set('db.provider.name', $provider); $this->assertEquals('E-mail Address', $this->person->getDataLabel('email'), 'Testing the getDataLabel method'); }