@Test
public void throwsExceptionWhenThreadLocalApplicationContextIsNotSet() throws Exception {

    ApplicationContext.setCurrent(null);
    thrown.expect(IllegalStateException.class);
    Tracer.isTracingEnabled();
}