mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/persistence/TestObservationQueryImpl.java
@Test
    public void testRemoveWithRangeSet()
    {
        m_SUT.withRange(5, 10);
        
        try
        {
            m_SUT.remove();
            fail("Expecting exception because range was set");
        }
        catch (IllegalStateException e)
        {
            
        }
    }
/**
     * Verify trying to remove with a range set will cause an exception.
     */
Verify trying to remove with a range set will cause an exception.
Verify trying to remove with a range set will cause an exception .
@Test
    public void testRemoveWithRangeSet()
    {
        m_SUT.withRange(5, 10);
        try
        {
            m_SUT.remove();
            fail("Expecting exception because range was set");
        }
        catch (IllegalStateException e)
        {
        }
    }
@ Test public void testRemoveWithRangeSet ( ) { m_SUT . withRange ( 5 , 10 ) ; try { m_SUT . remove ( ) ; fail ( "Expecting exception because range was set" ) ; } catch ( IllegalStateException e ) { } }
Verify trying to remove with a range set will cause an exception.
Verify trying to remove with a range set will cause an exception .