public void CreateClasses_ForNonIModelPolicyType_ThrowsArgumentNullException() { var exception = Record.Exception(() => { _target.CreateClasses(null); }); Assert.IsType <ArgumentNullException>(exception); }