public void setSort(Map<String, Sort.Direction> sorts) {
		Assert.notNull(sorts, "Sorts must not be null");
		this.sort = convertToSort(sorts);
	}
@Test
	void testSortThrowsExceptionWhenInvokedWithNull() {
		// given
		reader = new MongoCursorItemReader<>();

		// when + then
		assertThatIllegalArgumentException().isThrownBy(() -> reader.setSort(null))
			.withMessage("Sorts must not be null");
	}