void ConsoleReceived_Test() { try { ConsoleSystem.Arg arg = new ConsoleSystem.Arg(""); Log("ConsoleReceived_Test: Test 1"); Hooks.ConsoleReceived(ref arg); arg = null; Log("ConsoleReceived_Test: Test 2"); Hooks.ConsoleReceived(ref arg); arg = new ConsoleSystem.Arg("say test"); Log("ConsoleReceived_Test: Test 3"); Hooks.ConsoleReceived(ref arg); } catch (Exception ex) { Logger.LogException(ex); } }