'The tree needs to get the segments of the test ID that correspond
to the module and class that it belongs to.'

def test_getPrelude(self):

    self.assertEqual(['foo.bar', 'baz'], self.result._getPreludeSegments('foo.bar.baz.qux'))
    self.assertEqual(['foo', 'bar'], self.result._getPreludeSegments('foo.bar.baz'))
    self.assertEqual(['foo'], self.result._getPreludeSegments('foo.bar'))
    self.assertEqual([], self.result._getPreludeSegments('foo'))
