public void testComputeLocationWhenUberwarPackaging() throws Exception {
  Deployable deployableElement=new Deployable();
  deployableElement.setGroupId("projectGroupId");
  deployableElement.setArtifactId("projectArtifactId");
  deployableElement.setType("war");
  String location=deployableElement.computeLocation(createDefaultProject("uberwar",null));
  assertTrue(location.endsWith("projectFinalName.war"));
}

public void testComputeLocationWhenUberwarPackaging ( ) throws Exception { Deployable deployableElement = new Deployable ( ) ; deployableElement . setGroupId ( "projectGroupId" ) ; deployableElement . setArtifactId ( "projectArtifactId" ) ; deployableElement . setType ( "war" ) ; String location = deployableElement . computeLocation ( createDefaultProject ( "uberwar" , null ) ) ; assertTrue ( location . endsWith ( "projectFinalName.war" ) ) ; }
test compute location for uberwars .
