final String language = "test/language";
MultiModelRole mcr = mc.getModel();
mcr.getData().setLanguage(language);
final FeedProvider.RenderingInfo expectedRenderingInfo = new FeedProvider.RenderingInfo("", Color.white, "", Color.white, false);
MultiProvider mp = Mockito.mock(MultiProvider.class);
e = mc.getCapability(Evaluator.class);
registry.addProvider(mp);
Executor executor = Mockito.mock(Executor.class);
Mockito.when(executor.evaluate(Mockito.anyMap(), Mockito.anyList())).thenReturn(expectedRenderingInfo);
Mockito.when(mp.getLanguage()).thenReturn(language);
Mockito.when(mp.compile(Mockito.anyString())).thenReturn(executor);
Assert.assertSame(expectedRenderingInfo, e.evaluate(Collections.<String,List<Map<String,String>>>emptyMap(), Collections.<FeedProvider>emptyList()));
}