  @Test
  @UseDataProvider("multipleInstructions")
  public void validModeMultipleInstructionAddsInstructionsInAppropriateSets(
    final String instruction, final Set<PosixFilePermission> add,
    final Set<PosixFilePermission> remove) {

    final Set<PosixFilePermission> toAdd = EnumSet.noneOf(PosixFilePermission.class);
    final Set<PosixFilePermission> toRemove = EnumSet.noneOf(PosixFilePermission.class);
    ModeParser.parse(instruction, toAdd, toRemove);
    assertThat(toAdd).isEqualTo(add);
    assertThat(toRemove).isEqualTo(remove);
  }