public void ShouldSetStatusCode() { result = new PreconditionFailed() { MediaType = mediaType.Object, }; Assert.That(result.GetDecorators().Contains(typeof(StatusCode))); }
public void ShouldSetStatusCode() { Assert.That(result.GetDecorators().Contains(typeof(StatusCode))); }