mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestFactoryObjectCommands.java
@Test
    public void testGetExtensions()
    {
        // replay
        m_SUT.getExtensions(m_CmdSession, m_TestObject);

        // verify
        verify(m_PrintStream).println("FactoryObject Extensions:");
        verify(m_PrintStream, times(2)).println(anyString());
    }
/**
     * Verify that the expected set of extension type strings is printed to the console stream.
     */
Verify that the expected set of extension type strings is printed to the console stream.
Verify that the expected set of extension type strings is printed to the console stream .
@Test
    public void testGetExtensions()
    {
        m_SUT.getExtensions(m_CmdSession, m_TestObject);
        verify(m_PrintStream).println("FactoryObject Extensions:");
        verify(m_PrintStream, times(2)).println(anyString());
    }
@ Test public void testGetExtensions ( ) { m_SUT . getExtensions ( m_CmdSession , m_TestObject ) ; verify ( m_PrintStream ) . println ( "FactoryObject Extensions:" ) ; verify ( m_PrintStream , times ( 2 ) ) . println ( anyString ( ) ) ; }
Verify that the expected set of extension type strings is printed to the console stream.
Verify that the expected set of extension type strings is printed to the console stream .
// replay // verify