'Test it extracts paths from rundll strings.'

def testExctactsPathsFromRunDllStrings(self):

    fixture = [('rundll32.exe    C:\\Windows\\system32\\advpack.dll,DelNodeRunDLL32', 'C:\\Windows\\system32\\advpack.dll'), ("rundll32.exe    'C:\\Program    Files\\Realtek\\Audio\\blah.exe',blah", 'C:\\Program    Files\\Realtek\\Audio\\blah.exe'), ("'rundll32.exe'    'C:\\Program    Files\\Realtek\\Audio\\blah.exe',blah", 'C:\\Program    Files\\Realtek\\Audio\\blah.exe')]
    for (in_str, result) in fixture:
        self.assertEqual(set(windows.DetectExecutablePaths([in_str])), set([result, 'rundll32.exe']))
