@Test(expected=NullPointerException.class) public void testWithContextPath$nullValue() throws Exception { Deployment.newInstance().withContextPath(null); }
Deployment withContextPath(String contextPath) { checkNotNull(contextPath,"Context path cannot be null"); checkArgument(contextPath.startsWith("/"),"Context path should start with '/' (%s)",contextPath); this.contextPath=contextPath; return this; }
Deployment { Deployment withContextPath(String contextPath) { checkNotNull(contextPath,"Context path cannot be null"); checkArgument(contextPath.startsWith("/"),"Context path should start with '/' (%s)",contextPath); this.contextPath=contextPath; return this; } }
Deployment { Deployment withContextPath(String contextPath) { checkNotNull(contextPath,"Context path cannot be null"); checkArgument(contextPath.startsWith("/"),"Context path should start with '/' (%s)",contextPath); this.contextPath=contextPath; return this; } private  Deployment(String contextPath, File temporalDirectory); }
Deployment { Deployment withContextPath(String contextPath) { checkNotNull(contextPath,"Context path cannot be null"); checkArgument(contextPath.startsWith("/"),"Context path should start with '/' (%s)",contextPath); this.contextPath=contextPath; return this; } private  Deployment(String contextPath, File temporalDirectory);  }
Deployment { Deployment withContextPath(String contextPath) { checkNotNull(contextPath,"Context path cannot be null"); checkArgument(contextPath.startsWith("/"),"Context path should start with '/' (%s)",contextPath); this.contextPath=contextPath; return this; } private  Deployment(String contextPath, File temporalDirectory);   }