private static Context buildWithApplicationContainerContext(ApplicationContainerContext applicationContainerContext) {
    return buildWithApplicationContext(applicationContainerContext, mock(ApplicationTaskContext.class),
        mock(ExternalContext.class));
  }
Given no concrete context, getExternalContext should throw an exception.
samza-core/src/test/java/org/apache/samza/context/TestContextImpl.java