/** * @dataProvider fieldTypesDataProvider * @param string $field * @param string $expectedType */ public function testGetContactInformationFieldType($field, $expectedType) { $entity = '\\stdClass'; $this->assertContactInformationConfig($entity); $this->assertEquals($expectedType, $this->helper->getContactInformationFieldType($entity, $field)); }