mil.dod.th.ose.shell/test/mil/dod/th/ose/shell/TestFactoryObjectCommands.java
@Test
    public void testGetEmptyExtensions()
    {
        // mock
        Set<Class<?>> extTypes = new HashSet<>();
        when(m_TestObject.getExtensionTypes()).thenReturn(extTypes);

        // replay
        m_SUT.getExtensions(m_CmdSession, m_TestObject);

        // verify
        verify(m_PrintStream).println("FactoryObject Extensions:");
        verify(m_PrintStream).println("None");
    }
/**
     * Verify that an empty set of extension type strings is printed when none exist for the factory object.
     */
Verify that an empty set of extension type strings is printed when none exist for the factory object.
Verify that an empty set of extension type strings is printed when none exist for the factory object .
@Test
    public void testGetEmptyExtensions()
    {
        Set<Class<?>> extTypes = new HashSet<>();
        when(m_TestObject.getExtensionTypes()).thenReturn(extTypes);
        m_SUT.getExtensions(m_CmdSession, m_TestObject);
        verify(m_PrintStream).println("FactoryObject Extensions:");
        verify(m_PrintStream).println("None");
    }
@ Test public void testGetEmptyExtensions ( ) { Set < Class < ? > > extTypes = new HashSet < > ( ) ; when ( m_TestObject . getExtensionTypes ( ) ) . thenReturn ( extTypes ) ; m_SUT . getExtensions ( m_CmdSession , m_TestObject ) ; verify ( m_PrintStream ) . println ( "FactoryObject Extensions:" ) ; verify ( m_PrintStream ) . println ( "None" ) ; }
Verify that an empty set of extension type strings is printed when none exist for the factory object.
Verify that an empty set of extension type strings is printed when none exist for the factory object .
// mock // replay // verify