question: public void testSettingANullDeployableProperty ( ) { Deployable deployableElement = new Deployable ( ) ; WAR war = new WAR ( "/some/file.war" ) ; Map < String , String > properties = new HashMap < String , String > ( ) ; properties . put ( "context" , null ) ; deployableElement . setProperties ( properties ) ; deployableElement . setPropertiesOnDeployable ( war , createDefaultProject ( "war" , null ) ) ; assertEquals ( "" , war . getContext ( ) ) ; }
target:  Setting a Null property is the way Maven2 operates when the user specifies an empty property. We need to verify that the Cargo plugin intercepts that and replaces the Null with an empty String.