def METHOD_NAME(capsys):
    """Check that successful validation yield no text and a 0 exit value."""
    # Override abstract methods
    class NewScript(Script):
        def get_scheme(self):
            return None
        def validate_input(self, definition):
            # always succeed...
            return
        def stream_events(self, inputs, ew):
            # unused
            return
    script = NewScript()
    ew = EventWriter(sys.stdout, sys.stderr)
    args = [TEST_SCRIPT_PATH, "--validate-arguments"]
    return_value = script.run_script(args, ew, data_open("data/validation.xml"))
    output = capsys.readouterr()
    assert output.err == ""
    assert output.out == ""
    assert return_value == 0