### Question:
DefaultPacketProcessorManager extends PacketProcessorManager { @Override public @NotNull <T extends Packet> PacketProcessorManager registerProcessor(@NotNull PacketProcessor<T> packetProcessor, @NotNull Class<T> packetClass) { this.processors.put(packetClass, packetProcessor); return this; }  @Override @NotNull PacketProcessorManager registerProcessor(@NotNull PacketProcessor<T> packetProcessor, @NotNull Class<T> packetClass); @Override @SuppressWarnings("unchecked") @NotNull Optional<PacketProcessor<T>> getPacketProcessor(@NotNull Class<T> packetClass);  }### Answer:
@Test @Order(1) void testRegisterProcessor() { PacketProcessor<PacketAuthBegin> packetProcessor = Mockito.mock(PacketProcessor.class); this.processorManager.registerProcessor(packetProcessor, PacketAuthBegin.class); }