'Test series-method'

def testSeries(self):

    series = S3TimeSeriesEvent.series
    assertEqual = self.assertEqual
    assertEqual(series(None), set([None]))
    assertEqual(series(0), set([0]))
    assertEqual(series('A'), set(['A']))
    assertEqual(series([]), set())
    assertEqual(series([[], []]), set())
    assertEqual(series(['A', 'B']), set(['A', 'B']))
    assertEqual(series(['A', None]), set(['A', None]))
    assertEqual(series(['A', []]), set(['A']))
    assertEqual(series(['A', ['B', 'C']]), set(['A', 'B', 'C']))
    assertEqual(series(['A', ['B', 'A']]), set(['A', 'B']))
