def testValidate_Normal(self):
        sub = self.mock.CreateMock(TickSubsriber)
        sub.subRules().AndReturn(['s1', 'mockRule'])

        tf = TickFeeder()
        tf._TickFeeder__source = {'s1': 'dam1', 's11': 'dam2', 's2': 'dam3'}

        self.mock.ReplayAll()
        symbols, sub = tf.validate(sub)
        self.mock.VerifyAll()

        print(symbols)
    def testValidate_Normal(self):
        sub = self.mock.CreateMock(TickSubsriber)
        sub.subRules().AndReturn(['s1', 'mockRule'])

        tf = TickFeeder()
        tf._TickFeeder__source = {'s1': 'dam1', 's11': 'dam2', 's2': 'dam3'}

        self.mock.ReplayAll()
        symbols, sub = tf.validate(sub)
        self.mock.VerifyAll()

        print(symbols)