public void Test_ValidateHistory_ToString_Null_Parameter() { validator = new ValidateHistory(); var result = new Action(() => { validator.ToString(null); }); result.ShouldThrow <ArgumentNullException>(); }