@Test
public void testGaxVersion() {

  String gaxVersion = GaxProperties.getGaxVersion();
  assertTrue(Pattern.compile("^\\d+\\.\\d+\\.\\d+").matcher(gaxVersion).find());
  String[] versionComponents = gaxVersion.split("\\.");
  // This test was added in version 1.56.0, so check that the major and minor numbers are greater
  // than that.
  int major = Integer.parseInt(versionComponents[0]);
  int minor = Integer.parseInt(versionComponents[1]);
  assertTrue(major >= 1);
  if (major == 1) {
    assertTrue(minor >= 56);
  }
}