def METHOD_NAME():
    # Create a node object
    ibinarym = BinaryMathsInteger()
    # Check if the command is properly defined
    cmd = get_custom_path("seg_maths", env_dir="NIFTYSEGDIR")
    assert ibinarym.cmd == cmd
    # test raising error with mandatory args absent
    with pytest.raises(ValueError):
        ibinarym.run()
    # Assign some input data
    in_file = example_data("im1.nii")
    ibinarym.inputs.in_file = in_file
    ibinarym.inputs.operand_value = 2
    ibinarym.inputs.operation = "dil"
    ibinarym.inputs.output_datatype = "float"
    expected_cmd = "{cmd} {in_file} -dil 2 -odt float {out_file}".format(
        cmd=cmd, in_file=in_file, out_file="im1_dil.nii"
    )
    assert ibinarym.cmdline == expected_cmd