def test_get_validator(self):
        """Test dynamically getting the validator class"""
        config = Configuration(self.example_config_data)
        config.load_plugins()

        v = config.get_validator()

        assert isinstance(v, BossValidatorV01)
    def test_create(self):
        """Test creating a Configuration object"""
        config = Configuration(self.example_config_data)
        config.load_plugins()

        assert isinstance(config, Configuration)
        assert isinstance(config.tile_processor_class, TestTileProcessor)
        assert isinstance(config.path_processor_class, TestPathProcessor)
    def test_to_json(self):
        """Test json serialization"""
        config = Configuration(self.example_config_data)
        config.load_plugins()

        json_data = config.to_json()

        json_dict = json.loads(json_data)

        assert json_dict == self.example_config_data