class Ontopia {

  public static String getVersion() {
    return getMajorVersion() + "." + getMinorVersion() + "." + getMicroVersion()
      + (getBetaVersion() <= 0 ? "" : "b" + getBetaVersion())
      ;
  }

}

class OntopiaTest {

  @Test
  public void testGetVersion() {

    Assert.assertNotNull(Ontopia.getVersion());
  }

}