### Question:
GalleryDetailUrlParser { @Nullable public static Result parse(String url) { return parse(url, true); }  @Nullable static Result parse(String url); @Nullable static Result parse(String url, boolean strict);  }### Answer:
@Test public void testParse() { GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(url, strict); if (isNull) { assertNull(result); } else { assertEquals(gid, result.gid); assertEquals(token, result.token); } }