### Question:
TriggerContext implements AutoCloseable { public static Builder builder() { return new Builder(); } private  TriggerContext(TriggerEventConsumer triggerEventConsumer); static TriggerContext get(); static TriggerContext set(TriggerContext ctx); static boolean isSet(); static TriggerContext clear(); static Builder builder(); @Override void close(); TriggerContext registerTriggerEvent(TriggerEvent event);  }### Answer:
@Test(expected = RuntimeException.class) public void testCreateContextWithoutTriggerEventConsumerThrowsException() { TriggerContext.builder().build(); }