def test_field_reference_types(self):
    """Tests whether types of FieldReference fields are valid."""
    test_config = fieldreference_config.get_config()

    paths = ['ref_nodefault', 'ref']
    paths_types = [int, int]

    config_types = [config_path.get_type(path, test_config) for path in paths]
    self.assertEqual(paths_types, config_types)