private void assertApplicationData(long expectedActiveSesionId, long expectedLastDeployedSessionId) {
        TenantApplications applications = tenantRepository.getTenant(applicationId().tenant()).getApplicationRepo();
        ApplicationData applicationData = applications.applicationData(applicationId()).get();
        assertEquals(applicationId(), applicationData.applicationId());
        assertEquals(expectedActiveSesionId, applicationData.activeSession().get().longValue());
        assertEquals(expectedLastDeployedSessionId, applicationData.lastDeployedSession().get().longValue());
    }
Stores all added or set values for each metric and context.
configserver/src/test/java/com/yahoo/vespa/config/server/ApplicationRepositoryTest.java