public void CanSerialize_returns_false_for_Exception() { var serializer = new ErrorSerializer(); var result = serializer.CanSerialize(typeof(Exception)); result.Should().BeFalse(); }
public void CanSerialize_returns_true_for_HttpError() { var serializer = new ErrorSerializer(); var result = serializer.CanSerialize(typeof(HttpError)); result.Should().BeTrue(); }