public When_serializing_default_state()
 {
     _exception = new BrokenRuleException<Object>();
     _exceptionDeserialized = _exception.SerializeDeserialize();
 }
 public When_serializing_with_message()
 {
     _exception = new BrokenRuleException<Object>("message");
     _exceptionDeserialized = _exception.SerializeDeserialize();
 }
 public When_serializing_with_rules()
 {
     _exception = new BrokenRuleException<Object>(new[] { new Rule<Object>(o => o != null) }, new Object());
     _exceptionDeserialized = _exception.SerializeDeserialize();
 }