@Test public void URIがNULLかつマップ変数が指定されていたときは例外が発生する() { thrown.expect(InternalException.class); thrown.expectMessage("URLは必須です。"); Map<String, Object> map = new HashMap<String, Object>(); map.put("id", 1); Target.target(null, map); }
public static Target target(final String url) { return new Target(url); }
Target { public static Target target(final String url) { return new Target(url); } }
Target { public static Target target(final String url) { return new Target(url); } private  Target(final String url, final Map<String, Object> urlVariables); private  Target(final String url, final Object... urlVariables); }
Target { public static Target target(final String url) { return new Target(url); } private  Target(final String url, final Map<String, Object> urlVariables); private  Target(final String url, final Object... urlVariables); static Target target(final String url); static Target target(final String url, final Object... urlVariables); static Target target(final String url, final Map<String, Object> urlVariables); URI getUrl(); }
Target { public static Target target(final String url) { return new Target(url); } private  Target(final String url, final Map<String, Object> urlVariables); private  Target(final String url, final Object... urlVariables); static Target target(final String url); static Target target(final String url, final Object... urlVariables); static Target target(final String url, final Map<String, Object> urlVariables); URI getUrl();  }