    @Test(dataProvider = "getCommand")
    public void testSerialization(Command command) {

        EnipPacket packet = new EnipPacket(
            command.getCommandCode(),
            1L,
            EnipStatus.EIP_SUCCESS,
            2L,
            command
        );

        EnipPacket decoded = encodeDecode(packet, EnipPacket::encode, EnipPacket::decode);

        assertEquals(packet, decoded);
    }