### Question:
WDLHooks { public static void onNHPCHandleMaps(NetHandlerPlayClient sender, SPacketMaps packet) { listener.onNHPCHandleMaps(sender, packet); } private  WDLHooks(); static void onWorldClientTick(WorldClient sender); static void onWorldClientRemoveEntityFromWorld(WorldClient sender,
			int eid); static void onNHPCHandleChunkUnload(NetHandlerPlayClient sender,
			WorldClient world, SPacketUnloadChunk packet); static void onNHPCHandleChat(NetHandlerPlayClient sender,
			SPacketChat packet); static void onNHPCHandleMaps(NetHandlerPlayClient sender,
			SPacketMaps packet); static void onNHPCHandleCustomPayload(NetHandlerPlayClient sender,
			SPacketCustomPayload packet); static void onNHPCHandleBlockAction(NetHandlerPlayClient sender,
			SPacketBlockAction packet); static void onNHPCDisconnect(NetHandlerPlayClient sender, ITextComponent reason); static void onCrashReportPopulateEnvironment(CrashReport report); static void injectWDLButtons(GuiIngameMenu gui, Collection<GuiButton> buttonList,
			Consumer<GuiButton> addButton); static void handleWDLButtonClick(GuiIngameMenu gui, GuiButton button);  }### Answer:
@Test public void testHandleMaps() { doWithMockHooks(mock -> { makeMockWorld(); SPacketMaps packet = new SPacketMaps(0, (byte)0, false, Collections.emptyList(), new byte[0], 0, 0, 0, 0); clientPlayer.connection.handleMaps(packet); verify(mock).onNHPCHandleMaps(clientPlayer.connection, packet); }); }