HerdRestController extends HerdBaseController { @ApiOperation(value = "Gets the build information") @RequestMapping(value = "/buildInfo", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUILD_INFO_GET) public BuildInformation getBuildInfo() { return buildInformation; }  @ApiOperation(value = "Gets the build information") @RequestMapping(value = "/buildInfo", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_BUILD_INFO_GET) BuildInformation getBuildInfo(); @ApiOperation(value = "Validates infrastructure timeouts", hidden = true) @RequestMapping(value = "/timeoutValidation", method = RequestMethod.GET) @Secured(SecurityFunctions.FN_TIMEOUT_VALIDATION_GET) TimeoutValidationResponse getTimeoutValidation(@RequestParam(value = "waitForSeconds") Integer waitForSeconds);  }
@Test public void testGetBuildInfo() { BuildInformation result = herdRestController.getBuildInfo(); assertEquals(buildInformation, result); }