OpenGammaFudgeContext { public static FudgeContext getInstance() { return ContextHolder.INSTANCE; } private  OpenGammaFudgeContext(); static FudgeContext getInstance();  }
@Test public void test_context() { FudgeContext context = OpenGammaFudgeContext.getInstance(); assertNotNull(context); assertNotNull(context.getObjectDictionary()); assertTrue(context.getObjectDictionary().getObjectBuilder(Paging.class) instanceof PagingFudgeBuilder); assertTrue(context.getObjectDictionary().getMessageBuilder(Paging.class) instanceof PagingFudgeBuilder); }
@Test public void test_cached() { assertSame(OpenGammaFudgeContext.getInstance(), OpenGammaFudgeContext.getInstance()); }