### Question:
ComponentInvocationContextImpl implements ComponentInvocationContext { public void setLocalContext(LocalContext localContext) { if (localContext == null) { throw new IllegalArgumentException("localContext is null"); } ComponentInvocationContextImpl.localContext.set(localContext); }  @Override boolean isInterrupted(); @Override void markInterrupted(); void setLocalContext(LocalContext localContext);  }### Answer:
@Test(expectedExceptions = { IllegalArgumentException.class }) public void localContextCannotBeNull() { componentInvocationContext.setLocalContext(null); }