@Test(expected = EmptyStackException.class)
public void testEndingSpanWhenNonePresentRaisesEmptyStackException() {

    context.endSpan(new EnabledSpan(BigInteger.ONE, BigInteger.TEN, Optional.<BigInteger>absent(), "unknown", TraceLevel.INHERIT));
}