@Test
public void testGlobalMuteCancelsMessage() throws Exception {

    String input = "Test Message";
    api.setMutStatus(true);
    chatEvent = new AsyncPlayerChatEvent(true, mockPlayer, input, new HashSet<>());
    playerListener.loadRuleChain("blank.txt");
    playerListener.onPlayerChat(chatEvent);
    assertTrue(chatEvent.isCancelled());
}