assertSame(options, options.setOptResourceEnabled(optResourceEnabled)); assertSame(options, options.setServers(new ArrayList<>(servers))); assertSame(options, options.setCacheMinTimeToLive(0)); assertSame(options, options.setCacheMinTimeToLive(minTTL)); try { options.setCacheMinTimeToLive(-1); assertSame(options, options.setCacheMaxTimeToLive(0)); assertSame(options, options.setCacheMaxTimeToLive(maxTTL)); try { options.setCacheMaxTimeToLive(-1); assertSame(options, options.setCacheNegativeTimeToLive(0)); assertSame(options, options.setCacheNegativeTimeToLive(negativeTTL)); try { options.setCacheNegativeTimeToLive(-1); assertSame(options, options.setQueryTimeout(queryTimeout)); try { options.setQueryTimeout(0); assertSame(options, options.setMaxQueries(maxQueries)); try { options.setMaxQueries(0); assertSame(options, options.setRdFlag(rdFlag)); assertSame(options, options.setSearchDomains(searchDomains)); assertSame(options, options.setNdots(ndots)); try {
assertSame(options, options.setOptResourceEnabled(optResourceEnabled)); assertSame(options, options.setServers(new ArrayList<>(servers))); assertSame(options, options.setCacheMinTimeToLive(0)); assertSame(options, options.setCacheMinTimeToLive(minTTL)); try { options.setCacheMinTimeToLive(-1); assertSame(options, options.setCacheMaxTimeToLive(0)); assertSame(options, options.setCacheMaxTimeToLive(maxTTL)); try { options.setCacheMaxTimeToLive(-1); assertSame(options, options.setCacheNegativeTimeToLive(0)); assertSame(options, options.setCacheNegativeTimeToLive(negativeTTL)); try { options.setCacheNegativeTimeToLive(-1); assertSame(options, options.setQueryTimeout(queryTimeout)); try { options.setQueryTimeout(0); assertSame(options, options.setMaxQueries(maxQueries)); try { options.setMaxQueries(0); assertSame(options, options.setRdFlag(rdFlag)); assertSame(options, options.setSearchDomains(searchDomains)); assertSame(options, options.setNdots(ndots)); try {