@Transactional
    public boolean block(ResourceId resourceId, TimeSlot timeSlot, Owner requester) {
        ResourceGroupedAvailability toBlock = findGrouped(resourceId, timeSlot);
        return block(requester, toBlock);
    }
@Test
    void cantBlockWhenNoSlotsCreated() {
        //given
        ResourceId resourceId = ResourceId.newOne();
        TimeSlot oneDay = TimeSlot.createDailyTimeSlotAtUTC(2021, 1, 1);
        Owner owner = Owner.newOne();

        //when
        boolean result = availabilityFacade.block(resourceId, oneDay, owner);

        //then
        assertFalse(result);
    }