def METHOD_NAME(self, generator):
    with pytest.raises(AttributeError) as excinfo:
        generator.parse('This is "{{foo_formatter_with_arguments:unknown}}"')
    assert str(excinfo.value) == "Unknown argument group 'unknown'"