### Question:
GalleryPageUrlParser { @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() { GalleryPageUrlParser.Result result = GalleryPageUrlParser.parse(url, strict); if (isNull) { assertNull(result); } else { assertEquals(gid, result.gid); assertEquals(pToken, result.pToken); assertEquals(page, result.page); } }