### Question:
CloudFoundryOperationsUtils { protected Mono<CloudFoundryOperations> getOperationsForSpace(String space) { return Mono.just(this.operations) .cast(DefaultCloudFoundryOperations.class) .map(cfOperations -> DefaultCloudFoundryOperations.builder() .from(cfOperations) .space(space) .build()); } CloudFoundryOperationsUtils(CloudFoundryOperations operations);   }### Answer:
@Test void getOperationsForSpace() { StepVerifier.create(operationsUtils.getOperationsForSpace("foo-space2")) .assertNext(ops -> { String space = (String) ReflectionTestUtils.getField(ops, "space"); assertThat(space).isEqualTo("foo-space2"); }) .verifyComplete(); }