public static FieldScope allowingFields(int firstFieldNumber, int... rest) {
    return FieldScopeImpl.createAllowingFields(asList(firstFieldNumber, rest));
  }
@Test
  public void testIgnoringTopLevelField_fieldScopes_allowingFields() {
    expectThat(ignoringFieldDiffMessage)
        .withPartialScope(FieldScopes.allowingFields(goodFieldNumber))
        .isEqualTo(ignoringFieldMessage);
    expectThat(ignoringFieldDiffMessage)
        .ignoringFieldScope(FieldScopes.allowingFields(goodFieldNumber))
        .isNotEqualTo(ignoringFieldMessage);
    expectThat(ignoringFieldDiffMessage)
        .withPartialScope(FieldScopes.allowingFields(badFieldNumber))
        .isNotEqualTo(ignoringFieldMessage);
    expectThat(ignoringFieldDiffMessage)
        .ignoringFieldScope(FieldScopes.allowingFields(badFieldNumber))
        .isEqualTo(ignoringFieldMessage);
  }