Sometimes a workplace injury is caused by a safety violation, and sometimes it isn’t. You are covered regardless of the cause. You don’t have to prove anything about the safety conditions at work.