Version { public static String get() { return JaegerTracer.getVersionFromProperties(); } private  Version(); static String get();  }
@Test public void testVersionGet() { assertEquals( "Version should be the same as the properties file", JaegerTracer.getVersionFromProperties(), Version.get() ); assertNotEquals( "The version from the tracer should not be the same string as Version.get()", new Configuration("testVersionGet").getTracer().getVersion(), Version.get() ); }