public void ConvertToHttpStatusCodeEntityInvalidTest() { var exception = new ValidationException("test"); Assert.AreEqual(HttpStatusCode.BadRequest, exception.ConvertToHttpStatusCode()); }