mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/core/TestPersistedObservations.java
@Test
    public void testStatusObservationRestored() throws DatatypeConfigurationException
    {   
        Observation expectedObs = ObservationHelper.createStatusObservation();
        
        ObservationStore observationStore = IntegrationTestRunner.getService(ObservationStore.class);
        Observation persistedObs = observationStore.find(expectedObs.getUuid());
        
        JaxbUtil.assertEqualContent(persistedObs, expectedObs);
    }
/**
     * Verify standard status observation created by {@link ObservationHelper} 
     * is the same is what is pull from the {@link ObservationStore} after system restart (actually persisted).
     * @throws DatatypeConfigurationException 
     *      thrown when there is a duration configuration error
     */
Verify standard status observation created by  ObservationHelper
is the same is what is pull from the  ObservationStore after system restart (actually persisted).
@throws DatatypeConfigurationException
thrown when there is a duration configuration error
Verify standard status observation created by ObservationHelper is the same is what is pull from the ObservationStore after system restart ( actually persisted ) . @throws DatatypeConfigurationException thrown when there is a duration configuration error
@Test
    public void testStatusObservationRestored() throws DatatypeConfigurationException
    {   
        Observation expectedObs = ObservationHelper.createStatusObservation();
        ObservationStore observationStore = IntegrationTestRunner.getService(ObservationStore.class);
        Observation persistedObs = observationStore.find(expectedObs.getUuid());
        JaxbUtil.assertEqualContent(persistedObs, expectedObs);
    }
@ Test public void testStatusObservationRestored ( ) throws DatatypeConfigurationException { Observation expectedObs = ObservationHelper . createStatusObservation ( ) ; ObservationStore observationStore = IntegrationTestRunner . getService ( ObservationStore . class ) ; Observation persistedObs = observationStore . find ( expectedObs . getUuid ( ) ) ; JaxbUtil . assertEqualContent ( persistedObs , expectedObs ) ; }
Verify standard status observation created by {@link ObservationHelper}
 is the same is what is pull from the {@link ObservationStore} after system restart (actually persisted).
Verify standard status observation created by { @link ObservationHelper } is the same is what is pull from the { @link ObservationStore } after system restart ( actually persisted ) .