I can't really find a solution for this, but does anyone can help me with creating Operating Hours for Apex Testing? I'm not quite sure what I have to create? Only the Operating Hours - record or more?
You have to create a record for TimeSlot in your apex test class. Once that is inserted you will be able to test it.