@Override
    public Object read(final MySQLPacketPayload payload, final boolean unsigned) {
        if (unsigned) {
            return payload.getByteBuf().readUnsignedIntLE();
        }
        return payload.getByteBuf().readIntLE();
    }
@Test
    void assertRead() {
        when(payload.getByteBuf()).thenReturn(Unpooled.wrappedBuffer(new byte[]{1, 0, 0, 0, 1, 0, 0, 0}));
        assertThat(new MySQLInt4BinaryProtocolValue().read(payload, false), is(1));
        assertThat(new MySQLInt4BinaryProtocolValue().read(payload, true), is(1L));
    }