@Test
public void checkUpgradeServerFailure() throws Exception {

    // When
    upgradeAPI.setUpgradeVersionLocation("http://localhost:" + port + "/upgrade/server/failure"); // Update URL that
                                                                                                  // fails
    // Then
    String actual = RestAssured.when().get("/api/upgrade/check").asString();
    assertEquals("[]", actual, true);
}