@Test @Ignore("Mocks with mockito don't work")
public void settingShouldNullifyUpToIndexAndIgnoreRemoval() throws Exception {

final Long[] l = new Long[] {};

when(context.getRoot()).thenReturn(instance);

when(typeConverter.convertValue(anyMap(), any(),
	(Member) any(Member.class), anyString(), any(),
	any(Class.class))).thenReturn(22L);
accessor.setProperty(context, l, 1, 22L);
assertThat(instance.simpleNode[0], is(nullValue()));
assertThat(instance.simpleNode[1], is(equalTo(22L)));
}