@Test(expected = IllegalArgumentException.class)
public void testFindRecordWithOffsetThatIsTooLarge() {

    // given
    int limit = 10;
    int offset = 100;
    PaginatedSearchParams searchParams = new PaginatedSearchParams.Builder().limit(limit).offset(offset).build();
    // when
    manager.findRecord(distributedCatalogId, searchParams);
}