### Question:
DefaultGetResolver extends GetResolver<T> { @NonNull @Override public Cursor performGet(@NonNull StorIOContentResolver storIOContentResolver, @NonNull Query query) { return storIOContentResolver.lowLevel().query(query); }  @NonNull @Override Cursor performGet(@NonNull StorIOContentResolver storIOContentResolver, @NonNull Query query);  }### Answer:
@Test public void query() { final StorIOContentResolver storIOContentResolver = mock(StorIOContentResolver.class); final StorIOContentResolver.LowLevel lowLevel = mock(StorIOContentResolver.LowLevel.class); final Query query = Query.builder() .uri(mock(Uri.class)) .build(); final Cursor expectedCursor = mock(Cursor.class); when(storIOContentResolver.lowLevel()) .thenReturn(lowLevel); when(lowLevel.query(query)) .thenReturn(expectedCursor); final GetResolver<TestItem> defaultGetResolver = new DefaultGetResolver<TestItem>() { @NonNull @Override public TestItem mapFromCursor( @NonNull StorIOContentResolver storIOContentResolver, @NonNull Cursor cursor ) { assertThat(cursor).isSameAs(expectedCursor); return new TestItem(); } }; final Cursor actualCursor = defaultGetResolver.performGet(storIOContentResolver, query); verify(lowLevel, times(1)).query(any(Query.class)); verify(lowLevel, times(1)).query(query); assertThat(actualCursor).isSameAs(expectedCursor); }