public void GetObjectDataChecksIfInfoIsNull() { var rule = new Rule<Object>(o => o != null); rule.GetObjectData(null, new StreamingContext()); }