}
@Test(expected = VRaptorException.class)
public void shouldNotSupportNonGenericLists() throws InstantiationException, IllegalAccessException,
InvocationTargetException, NoSuchMethodException {
SimpleNode node = mock(SimpleNode.class);
when(node.toString()).thenReturn("nonGeneric");
when(evaluation.getNode()).thenReturn(node);
when(evaluation.getSource()).thenReturn(client);
handler.instantiate(client.nonGeneric, "2", handler.getListType(client.nonGeneric, evaluation, context));