Mockito.when(parentComponent.getData()).thenReturn(mockData);
Mockito.when(provider.getSubscriptionId()).thenReturn(feedId);
Mockito.when(evaluatorProvider.getLanguage()).thenReturn(language);
Mockito.when(mockData.getLanguage()).thenReturn(language);
Mockito.when(evaluatorProvider.compile(Mockito.anyString())).thenReturn(new ReturnExecutor());
new EvaluatorProviderRegistry().addProvider(evaluatorProvider);
final Executor executor =
EvaluatorProviderRegistry.getExecutor(EvaluatorComponent.class.cast(parentComponent));
final Evaluator e = new Evaluator() {