CielRequirement implements Requirement { @Override public String getFoundVersion() { return Context.getAdministrationService().getGlobalProperty(GP_CONCEPTS_VERSION); }  @Override String getName(); @Override String getRequiredVersion(); void setRequiredVersion(String requiredVersion); @Override String getFoundVersion(); @Override boolean isSatisfied(); public String requiredVersion; }
@Test public void getFoundVersion() { Assert.assertNull(cielRequirement.getFoundVersion()); TestUtils.saveGlobalProperty("ciel.conceptsVersion", "20130101"); Assert.assertEquals("20130101", cielRequirement.getFoundVersion()); }