### Question:
DefaultPacketProcessorManager extends PacketProcessorManager { @Override @SuppressWarnings("unchecked") public @NotNull <T extends Packet> Optional<PacketProcessor<T>> getPacketProcessor(@NotNull Class<T> packetClass) { PacketProcessor<T> packetProcessor = (PacketProcessor<T>) this.processors.get(packetClass); return Optional.ofNullable(packetProcessor); }  @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(2) void testGetPacketProcessor() { Assertions.assertTrue(this.processorManager.getPacketProcessor(PacketAuthBegin.class).isPresent()); Assertions.assertFalse(this.processorManager.getPacketProcessor(PacketAuthSuccess.class).isPresent()); }