This Tutorial will guide you how to test exception in Apex test class