### Question:
BlockHeadersMessage extends Message { @Override public MessageType getMessageType() { return MessageType.BLOCK_HEADERS_MESSAGE; } BlockHeadersMessage(byte[] encoded);  BlockHeadersMessage(@Nonnull final BlockHeader header);  BlockHeadersMessage(List<BlockHeader> headers); @Override MessageType getMessageType(); @Override byte[] getEncodedMessage(); List<BlockHeader> getBlockHeaders(); @Override String toString();  }### Answer:
@Test public void getMessageType() { BlockHeadersMessage message = new BlockHeadersMessage((byte[]) null); Assert.assertEquals(MessageType.BLOCK_HEADERS_MESSAGE, message.getMessageType()); }