mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/persistence/TestAbstractDataStore.java
@Test
    public void testExecuteGetCount()
    {
        when(m_Query.execute()).thenReturn(222L);
        Query query = m_SUT.newJdoQuery();
        assertThat(m_SUT.executeGetCount(query), is(222L));
        
        verify(query).closeAll();
        verify(m_WakeLock).activate();
        verify(m_WakeLock).cancel();
    }
/**
     * Verify that can get a count.
     */
Verify that can get a count.
Verify that can get a count .
@Test
    public void testExecuteGetCount()
    {
        when(m_Query.execute()).thenReturn(222L);
        Query query = m_SUT.newJdoQuery();
        assertThat(m_SUT.executeGetCount(query), is(222L));
        verify(query).closeAll();
        verify(m_WakeLock).activate();
        verify(m_WakeLock).cancel();
    }
@ Test public void testExecuteGetCount ( ) { when ( m_Query . execute ( ) ) . thenReturn ( 222L ) ; Query query = m_SUT . newJdoQuery ( ) ; assertThat ( m_SUT . executeGetCount ( query ) , is ( 222L ) ) ; verify ( query ) . closeAll ( ) ; verify ( m_WakeLock ) . activate ( ) ; verify ( m_WakeLock ) . cancel ( ) ; }
Verify that can get a count.
Verify that can get a count .