### Question:
SpannerResult implements Result { @Override public Mono<Integer> getRowsUpdated() { return this.rowsUpdated; } SpannerResult(Flux<SpannerRow> resultRows, Mono<Integer> rowsUpdated); @Override Mono<Integer> getRowsUpdated(); @Override Flux<T> map(BiFunction<Row, RowMetadata, ? extends T> f);  }### Answer:
@Test public void getRowsUpdatedTest() { StepVerifier.create( ((Mono) new SpannerResult(this.resultSet,Mono.just(2)).getRowsUpdated())) .expectNext(2) .verifyComplete(); }