assertEquals("org/python/expose/generate/SimpleExposed$simple_method_exposer",
mp.getInternalName());
assertEquals("org.python.expose.generate.SimpleExposed$simple_method_exposer",
mp.getClassName());
Class descriptor = mp.load(new BytecodeLoader.Loader());
PyBuiltinCallable instance = instantiate(descriptor, "simple_method");
assertSame("simple_method", instance.__getattr__("__name__").toString());
SimpleExposed simpleExposed = new SimpleExposed();
PyBuiltinCallable bound = instance.bind(simpleExposed);
assertEquals(instance.getClass(), bound.getClass());
assertEquals(Py.None, bound.__call__());
assertEquals(1, simpleExposed.timesCalled);
}