@Test public void responseWithValuesIsBuilt() { CreateServiceInstanceRouteBindingResponse response = CreateServiceInstanceRouteBindingResponse.builder() .bindingExisted(true) .routeServiceUrl("https://routes.example.com") .build(); assertThat(response.isBindingExisted()).isEqualTo(true); assertThat(response.getRouteServiceUrl()).isEqualTo("https://routes.example.com"); DocumentContext json = JsonUtils.toJsonPath(response); assertThat(json).hasPath("$.route_service_url").isEqualTo("https://routes.example.com"); }