public static Applications updateMeta(Applications applications) {
        applications.setVersion(1L);
        applications.setAppsHashCode(applications.getReconcileHashCode());
        return applications;
    }
@Test
    public void testUpdateMetaIfNotNullReturnApplications() {
        Application application = createSingleInstanceApp("foo", "foo",
                InstanceInfo.ActionType.ADDED);
        Applications applications = createApplications(application);
        Assert.assertEquals(1l,
                (long) EurekaEntityFunctions.updateMeta(applications)
                        .getVersion());
    }