public static MetadataBlock newEos() {
    return new MetadataBlock();
  }
@Test(expectedExceptions = UnsupportedOperationException.class)
  public void shouldThrowExceptionWhenUsingReadMethods() {
    // Given:
    MetadataBlock block = MetadataBlock.newEos();

    // When:
    // (should through exception)
    block.getInt(0, 0);
  }