@Test
  public void testKeysetBasic() throws Exception {
    Keyset keyset = Keyset.newBuilder().setPrimaryKeyId(1).build();
    assertEquals(1, keyset.getPrimaryKeyId());
  }
A simple integration test to see whether protobuf is built correctly.
java_src/src/test/java/com/google/crypto/tink/TinkProtoTest.java