mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/advanced/configuration/TestConfigPropModelImpl.java
@Test
    public void testIsBooleanType()
    {        
        assertThat(m_SUT.isBooleanType(), is(false));
        
        when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.BOOLEAN);
        m_SUT = new ConfigPropModelImpl(m_AttributeModel);
        assertThat(m_SUT.isBooleanType(), is(true));
    }
/**
     * Verify boolean type returns true when type is boolean, false otherwise
     */
Verify boolean type returns true when type is boolean, false otherwise
Verify boolean type returns true when type is boolean false otherwise
@Test
    public void testIsBooleanType()
    {        
        assertThat(m_SUT.isBooleanType(), is(false));
        when(m_AttributeModel.getType()).thenReturn(AttributeDefinition.BOOLEAN);
        m_SUT = new ConfigPropModelImpl(m_AttributeModel);
        assertThat(m_SUT.isBooleanType(), is(true));
    }
@ Test public void testIsBooleanType ( ) { assertThat ( m_SUT . isBooleanType ( ) , is ( false ) ) ; when ( m_AttributeModel . getType ( ) ) . thenReturn ( AttributeDefinition . BOOLEAN ) ; m_SUT = new ConfigPropModelImpl ( m_AttributeModel ) ; assertThat ( m_SUT . isBooleanType ( ) , is ( true ) ) ; }
Verify boolean type returns true when type is boolean, false otherwise
Verify boolean type returns true when type is boolean false otherwise