### Question:
AltsHandshakerOptions { public RpcProtocolVersions getRpcProtocolVersions() { return rpcProtocolVersions; } AltsHandshakerOptions(RpcProtocolVersions rpcProtocolVersions); RpcProtocolVersions getRpcProtocolVersions();  }### Answer:
@Test public void setAndGet() throws Exception { RpcProtocolVersions rpcVersions = RpcProtocolVersions.newBuilder() .setMaxRpcVersion( RpcProtocolVersions.Version.newBuilder().setMajor(2).setMinor(1).build()) .setMinRpcVersion( RpcProtocolVersions.Version.newBuilder().setMajor(2).setMinor(1).build()) .build(); AltsHandshakerOptions options = new AltsHandshakerOptions(rpcVersions); assertThat(options.getRpcProtocolVersions()).isEqualTo(rpcVersions); }