def test_onlyObject(self):
        """
        L{prefixedMethods} returns a list of the methods discovered on an
        object.
        """
        x = Base()
        output = prefixedMethods(x)
        self.assertEqual([x.method], output)

        L{prefixedMethods} returns a list of the methods discovered on an
        object.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_reflect.py