@Test
public void shouldRunTransferOperationsOnlyForChosenOperations() {

    // given
    TransferConfig config = new TransferConfig(TransferOperationType.CREATE);
    SortedParameters sortedParameters = sortedParameters().with(TransferOperationType.CREATE, "create").build();
    when(sorter.sort(anySetOf(String.class), anySetOf(String.class))).thenReturn(sortedParameters);
    // when
    standardTransferer.transfer(config, mock(ParamRepository.class), mock(WritableParamRepository.class));
    // then
    verify(operations.get(TransferOperationType.CREATE), times(1)).run(eq("create"), any(ParamRepository.class), any(WritableParamRepository.class));
    verify(operations.get(TransferOperationType.DELETE), never()).run(anyString(), any(ParamRepository.class), any(WritableParamRepository.class));
    verify(operations.get(TransferOperationType.OVERRIDE), never()).run(anyString(), any(ParamRepository.class), any(WritableParamRepository.class));
}