    @Test
    void getInstances_shouldReturnEmptyIfNotPermission() {

        when(systemResolver.isReadCalendarPermitted(context)).thenReturn(false);

        Set<Instance> instances = getInstances(context);
        assertTrue(instances.isEmpty());
    }