'Test for the GenSysVInitData() method.'

def testGenSysVInitData(self):

    result = self.GenSysVInitData([])
    self.assertTrue(('KnowledgeBase' in result))
    self.assertTrue(('LinuxServices' in result))
    self.assertDictEqual(self.SetArtifactData(), result['LinuxServices'])
    result = self.GenSysVInitData(['/etc/rc2.d/S99testing'])
    self.assertTrue(('LinuxServices' in result))
    self.assertEquals(1, len(result['LinuxServices']['PARSER']))
    result = result['LinuxServices']['PARSER'][0]
    self.assertEquals('testing', result.name)
    self.assertEquals([2], result.start_on)
    self.assertTrue(result.starts)
