### Question:
GamePlayerProxy implements InvocationHandler { public Object getProxy () { return Proxy.newProxyInstance(mClass.getClassLoader(), mClass.getInterfaces(), this); } GamePlayerProxy(final Object object); Object getProxy(); @Override Object invoke(final Object proxy, final Method method, final Object[] args);  }### Answer:
@Test public void test () { final GamePlayer player = new DnfGamePlayer("bascker", "123456"); final GamePlayerProxy handler = new GamePlayerProxy(player); final GamePlayer proxy = (GamePlayer) handler.getProxy(); proxy.login(); proxy.killBoss(); proxy.upgrade(); }