PostgreSQLDateBinaryProtocolValue implements PostgreSQLBinaryProtocolValue { @Override public int getColumnLength(final Object value) { return 8; }  @Override int getColumnLength(final Object value); @Override Object read(final PostgreSQLPacketPayload payload); @Override void write(final PostgreSQLPacketPayload payload, final Object value);  }
@Test public void assertGetColumnLength() { assertThat(new PostgreSQLDateBinaryProtocolValue().getColumnLength(""), is(8)); }