### Question:
RpcProtocolVersionsUtil { @VisibleForTesting static boolean isGreaterThanOrEqualTo(Version first, Version second) { if ((first.getMajor() > second.getMajor()) || (first.getMajor() == second.getMajor() && first.getMinor() >= second.getMinor())) { return true; } return false; }  static RpcProtocolVersions getRpcProtocolVersions();  }### Answer:
@Test public void compareVersions() throws Exception { assertTrue( RpcProtocolVersionsUtil.isGreaterThanOrEqualTo( Version.newBuilder().setMajor(3).setMinor(2).build(), Version.newBuilder().setMajor(2).setMinor(1).build())); assertTrue( RpcProtocolVersionsUtil.isGreaterThanOrEqualTo( Version.newBuilder().setMajor(3).setMinor(2).build(), Version.newBuilder().setMajor(2).setMinor(1).build())); assertTrue( RpcProtocolVersionsUtil.isGreaterThanOrEqualTo( Version.newBuilder().setMajor(3).setMinor(2).build(), Version.newBuilder().setMajor(3).setMinor(2).build())); assertFalse( RpcProtocolVersionsUtil.isGreaterThanOrEqualTo( Version.newBuilder().setMajor(2).setMinor(3).build(), Version.newBuilder().setMajor(3).setMinor(2).build())); assertFalse( RpcProtocolVersionsUtil.isGreaterThanOrEqualTo( Version.newBuilder().setMajor(3).setMinor(1).build(), Version.newBuilder().setMajor(3).setMinor(2).build())); }