PostgreSQLParseCompletePacket implements PostgreSQLPacket { @Override public void write(final PostgreSQLPacketPayload payload) { }  @Override void write(final PostgreSQLPacketPayload payload);  }
@Test public void assertNewInstance() { PostgreSQLParseCompletePacket actual = new PostgreSQLParseCompletePacket(); actual.write(mock(PostgreSQLPacketPayload.class)); assertThat(actual.getMessageType(), is('1')); }