### Question:
WDLHooks { public static void onNHPCHandleBlockAction(ClientPlayNetHandler sender, SBlockActionPacket packet) { listener.onNHPCHandleBlockAction(sender, packet); } private  WDLHooks(); static void onWorldClientTick(ClientWorld sender); static void onWorldClientRemoveEntityFromWorld(ClientWorld sender,
			int eid); static void onNHPCHandleChunkUnload(ClientPlayNetHandler sender,
			ClientWorld world, SUnloadChunkPacket packet); static void onNHPCHandleChat(ClientPlayNetHandler sender,
			SChatPacket packet); static void onNHPCHandleMaps(ClientPlayNetHandler sender,
			SMapDataPacket packet); static void onNHPCHandleCustomPayload(ClientPlayNetHandler sender,
			SCustomPayloadPlayPacket packet); static void onNHPCHandleBlockAction(ClientPlayNetHandler sender,
			SBlockActionPacket packet); static void onNHPCDisconnect(ClientPlayNetHandler sender, ITextComponent reason); static void onCrashReportPopulateEnvironment(CrashReport report); static void injectWDLButtons(IngameMenuScreen gui, Collection<Widget> buttonList,
			Consumer<Widget> addButton); static void handleWDLButtonClick(IngameMenuScreen gui, Button button);  }### Answer:
@Test public void testHandleBlockAction() { doWithMockHooks(mock -> { makeMockWorld(); SBlockActionPacket packet = new SBlockActionPacket(BlockPos.ZERO, Blocks.NOTE_BLOCK, 0, 0); clientPlayer.connection.handleBlockAction(packet); verify(mock).onNHPCHandleBlockAction(clientPlayer.connection, packet); }); }