@Test
void accept() {

    final ControlApi control = mock(ControlApi.class);
    final Api<ControlApi> ca = mockApi(control);
    final Zonky z = mockZonkyControl(ca);
    final MyReservation mr = mock(MyReservationImpl.class);
    when(mr.getId()).thenReturn(111L);
    final Reservation r = mock(ReservationImpl.class);
    when(r.getMyReservation()).thenReturn(mr);
    z.accept(r);
    verify(control).accept(argThat(rs -> {
        final List<ResolutionRequest> rr = rs.getResolutions();
        return rr.size() == 1 && Objects.equals(rr.get(0)
            .getReservationId(),
                r.getMyReservation()
                    .getId());
    }));
}