@Test
public void shouldNotApplyChangesGreaterThanTheMaxChangeToApply() throws Exception {

	when(appliedChangesProvider.getAppliedChanges()).thenReturn(Collections.<Long>emptyList());
	controller.processChangeScripts(2L);
       assertThat(applier.changeScripts.size(), is(2));
	assertThat(applier.changeScripts.get(0), is(change1));
	assertThat(applier.changeScripts.get(1), is(change2));
}