@Test
public void getFieldProcessors_multiplePriorityProcessors_returnsListSortedAccordingToPriority()
		throws Exception {

	PriorityFieldProcessor lowPriorityProcessor = stubPriorityProcessor(-1);
	PriorityFieldProcessor defaultPriorityProcessor = stubPriorityProcessor(0);
	PriorityFieldProcessor highPriorityProcessor = stubPriorityProcessor(1);
	setPriorityProcessors(lowPriorityProcessor, defaultPriorityProcessor, highPriorityProcessor);
	LinkedList<FieldProcessor> expectedResult = asList(highPriorityProcessor, defaultPriorityProcessor,
			lowPriorityProcessor);
	LinkedList<FieldProcessor> actualResult = testedObject.getFieldProcessors();
	assertThat(actualResult).isEqualTo(expectedResult);
}