    @Test
    public void restrictToKeysAddFilterOnGivenKeys() {

        //given
        Set<String> keys = Collections.singleton("procDef");

        //when
        GetProcessDefinitionsPayload filter = restrictionApplier.restrictToKeys(keys);

        //then
        assertThat(filter.getProcessDefinitionKeys()).isEqualTo(keys);
    }