@Nullable
    public static Result parse(String url) {
        return parse(url, true);
    }
@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);
    }
  }