Examples of retrieveModelVersion()


Examples of org.openengsb.core.api.model.ModelWrapper.retrieveModelVersion()

    }
   
    @Test
    public void testIfRetrieveModelVersionWork_shouldReturnModelVersion() throws Exception {
        ModelWrapper wrapper = ModelWrapper.wrap(new TestModel());
        assertThat(wrapper.retrieveModelVersion(), is(new Version("1.0.0").toString()));
    }

    private Object getEntryByName(List<OpenEngSBModelEntry> entries, String property) {
        for (OpenEngSBModelEntry entry : entries) {
            if (entry.getKey().equals(property)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.