### Question:
CloudFoundryApplicationRoute { @JsonIgnore public UnmapRouteRequest getUnmapRouteRequest () { UnmapRouteRequest.Builder builder = UnmapRouteRequest.builder(); builder.applicationName(applicationName).domain(domain.getName()); switch (type) { case HTTP: return builder.path(path).host(host).build(); case TCP: return builder.port(port).build(); default: throw new ChaosException(CloudFoundryChaosErrorCode.UNSUPPORTED_ROUTE_TYPE); } }  static CloudFoundryApplicationRouteBuilder builder(); String getHost(); CloudFoundryApplicationRouteType getType(); @JsonIgnore UnmapRouteRequest getUnmapRouteRequest(); @JsonIgnore MapRouteRequest getMapRouteRequest(); @Override String toString();  }### Answer:
@Test(expected = ChaosException.class) public void unknownRouteUnMap () { unknownRouteType.getUnmapRouteRequest(); }