mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/persistence/TestObservationQueryImpl.java
@Test
    public void testGetCount()
    {
        when(m_DataStore.executeGetCount(Mockito.any(Query.class))).thenReturn(10L);
        
        long count = m_SUT.getCount();
        
        assertThat(count, is(10L));
    }
/**
     * Verify that a count can be retrieved.
     */
Verify that a count can be retrieved.
Verify that a count can be retrieved .
@Test
    public void testGetCount()
    {
        when(m_DataStore.executeGetCount(Mockito.any(Query.class))).thenReturn(10L);
        long count = m_SUT.getCount();
        assertThat(count, is(10L));
    }
@ Test public void testGetCount ( ) { when ( m_DataStore . executeGetCount ( Mockito . any ( Query . class ) ) ) . thenReturn ( 10L ) ; long count = m_SUT . getCount ( ) ; assertThat ( count , is ( 10L ) ) ; }
Verify that a count can be retrieved.
Verify that a count can be retrieved .