    @Test
    public void shouldReturnArraySortedByDescendingSize() {

        // given
        long[] sizes = {10000, 1000, 100, 50, 2000, 2500};
        for (int i = 0; i < sizes.length; i++)
            when(mFiles.get(i).length()).thenReturn(sizes[i]);

        File[] expected = new File[]{mFiles.get(0), mFiles.get(5), mFiles.get(4),
                mFiles.get(1), mFiles.get(2), mFiles.get(3)};

        // when
        mInstance.performSortOperation(mInstance.SIZE_DECREASING_ORDER_INDEX, mFiles);

        // then
        Assert.assertEquals(asList(expected), mFiles);
    }