@Test
  public void testGetApplicationTaskContext() {
    ApplicationTaskContext applicationTaskContext = mock(ApplicationTaskContext.class);
    Context context = buildWithApplicationTaskContext(applicationTaskContext);
    assertEquals(applicationTaskContext, context.getApplicationTaskContext());
  }
Given a concrete context, getApplicationTaskContext should return it.
samza-core/src/test/java/org/apache/samza/context/TestContextImpl.java