mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/asset/TestAssetFactoryModel.java
@Test
    public void testDefaultValues()
    {
        AssetFactoryModel model = new AssetFactoryModel(PRODUCT_TYPE, m_AssetImageInterface);
        
        //check defaults
        assertThat(model.getFullyQualifiedAssetType(), is(PRODUCT_TYPE));
        assertThat(model.getProductName().isEmpty(), is(true));
        assertThat(model.getFactoryCaps(), is(nullValue()));
        String[] strings = model.getFullyQualifiedAssetType().split("\\.");
        assertThat(model.getSimpleType(), is(strings[strings.length - 1]));
    }
/**
     * Test the default values set for an asset factory model. 
     * 
     * Verify that the FQN is returned for the name. 
     */
Test the default values set for an asset factory model.

Verify that the FQN is returned for the name.
Test the default values set for an asset factory model . Verify that the FQN is returned for the name .
@Test
    public void testDefaultValues()
    {
        AssetFactoryModel model = new AssetFactoryModel(PRODUCT_TYPE, m_AssetImageInterface);
        assertThat(model.getFullyQualifiedAssetType(), is(PRODUCT_TYPE));
        assertThat(model.getProductName().isEmpty(), is(true));
        assertThat(model.getFactoryCaps(), is(nullValue()));
        String[] strings = model.getFullyQualifiedAssetType().split("\\.");
        assertThat(model.getSimpleType(), is(strings[strings.length - 1]));
    }
@ Test public void testDefaultValues ( ) { AssetFactoryModel model = new AssetFactoryModel ( PRODUCT_TYPE , m_AssetImageInterface ) ; assertThat ( model . getFullyQualifiedAssetType ( ) , is ( PRODUCT_TYPE ) ) ; assertThat ( model . getProductName ( ) . isEmpty ( ) , is ( true ) ) ; assertThat ( model . getFactoryCaps ( ) , is ( nullValue ( ) ) ) ; String [ ] strings = model . getFullyQualifiedAssetType ( ) . split ( "\\." ) ; assertThat ( model . getSimpleType ( ) , is ( strings [ strings . length - 1 ] ) ) ; }
Test the default values set for an asset factory model.
Test the default values set for an asset factory model .
//check defaults