shouldThrowRestException

Calls the given expression and returns true if it throws a RestException with the given status

version(Have_vibe_d)
debug(featureTest)
bool
shouldThrowRestException
(
E
)
(
lazy E expression
,
HTTPStatus status
,
string file = __FILE__
,
typeof(__LINE__) line = __LINE__
)

Meta