@Test
  public void should_log_error_and_abort_when_template_not_found() throws Exception {
    // given
    when(templateStore.get(anyString())).thenReturn(null);

    // when
    dependencyMocker.mockDependencies(dependencies, classUnderTest, testCase, SOME_TEST_TYPE);

    // then
    verify(logger).error(any());
    verifyZeroInteractions(templateApplicator);
  }
 private void mockTemplateRetrieval() {
   MockingTemplate template = mock(MockingTemplate.class);
   when(templateStore.get(anyString())).thenReturn(template);
 }