'If x is an instance of Sub and Sub is a subclass of Base and Base
defines a method named method, L{accumulateMethods} adds an item to the
given dictionary with C{"method"} as the key and a bound method object
for Base.method as the value.'

def test_baseClass(self):

    x = Sub()
    output = {}
    accumulateMethods(x, output)
    self.assertEqual({'method': x.method}, output)
