@Test
  public void testGetSamzaVersion() {
    String utilImplementationVersion = Util.class.getPackage().getImplementationVersion();
    String expectedVersion =
        (utilImplementationVersion != null) ? utilImplementationVersion : Util.FALLBACK_VERSION;
    assertEquals(expectedVersion, Util.getSamzaVersion());
  }
It's difficult to explicitly test having an actual version and using the fallback, due to the usage of methods of
 Class.
samza-core/src/test/java/org/apache/samza/util/TestUtil.java