mil.dod.th.ose.integration/src/mil/dod/th/ose/controller/integration/utils/AssetTestUtils.java
public static Asset createTestableAssetWithProps(final String productType, 
            final Map<String, Object> props) throws IllegalArgumentException, AssetException, 
            IllegalStateException, FactoryException
    {
        final Asset asset = createTestableAsset(productType);
        asset.setProperties(new Hashtable<String, Object>(props));
        
        return asset;
    }
/**
     * Creates an asset of specified class with specified properties set.
     * 
     * @param productType
     *  the class of the asset that is to be created.
     * @param props
     *  the properties to be set.
     * @return
     *  the asset that has been created.
     */
Creates an asset of specified class with specified properties set.

@param productType
the class of the asset that is to be created.
@param props
the properties to be set.
@return
the asset that has been created.
Creates an asset of specified class with specified properties set . @param productType the class of the asset that is to be created . @param props the properties to be set . @return the asset that has been created .
public static Asset createTestableAssetWithProps(final String productType, 
            final Map<String, Object> props) throws IllegalArgumentException, AssetException, 
            IllegalStateException, FactoryException
    {
        final Asset asset = createTestableAsset(productType);
        asset.setProperties(new Hashtable<String, Object>(props));
        return asset;
    }
public static Asset createTestableAssetWithProps ( final String productType , final Map < String , Object > props ) throws IllegalArgumentException , AssetException , IllegalStateException , FactoryException { final Asset asset = createTestableAsset ( productType ) ; asset . setProperties ( new Hashtable < String , Object > ( props ) ) ; return asset ; }
Creates an asset of specified class with specified properties set.
Creates an asset of specified class with specified properties set .