public static MetadataCoder of() {
    return INSTANCE;
  }
@Test
  public void testEncodeDecodeWithDefaultLastModifiedMills() throws Exception {
    Path filePath = tmpFolder.newFile("somefile").toPath();
    Metadata metadata =
        Metadata.builder()
            .setResourceId(
                FileSystems.matchNewResource(filePath.toString(), false /* isDirectory */))
            .setIsReadSeekEfficient(true)
            .setSizeBytes(1024)
            .build();
    CoderProperties.coderDecodeEncodeEqual(MetadataCoder.of(), metadata);
  }