void () { assertNull(ProcessListUtil.parseWMICOutput( "", Collections.emptyMap(), null)); assertNull(ProcessListUtil.parseWMICOutput( "wrong format", Collections.emptyMap(), null)); assertEmpty(ProcessListUtil.parseWMICOutput( "Caption CommandLine ExecutablePath ParentProcessId ProcessId \n", Collections.emptyMap(), null)); assertNull(ProcessListUtil.parseWMICOutput( "smss.exe 304 \n", Collections.emptyMap(), null)); assertNull(ProcessListUtil.parseWMICOutput( """ Caption XXX ExecutablePath ProcessId \s smss.exe 304 \s """, Collections.emptyMap(), null)); assertNull(ProcessListUtil.parseWMICOutput( """ Caption CommandLine ExecutablePath XXX \s smss.exe 304 \s """, Collections.emptyMap(), null)); assertEmpty(ProcessListUtil.parseWMICOutput( """ Caption CommandLine ExecutablePath ParentProcessId ProcessId \s \s """, Collections.emptyMap(), null)); }