public void DeleteEndpoint_should_return_NOTFOUND_if_there_is_no_matching_endpoint() { Assert.IsType <NotFoundResult>(_controller.DeleteEndpoint(Guid.NewGuid())); }
public void DeleteEndpoint_should_return_NOTFOUND_if_there_is_no_matching_endpoint() { AuthorizeRequest(SecurityRole.Admin); Assert.IsType <NotFoundResult>(_controller.DeleteEndpoint(Guid.NewGuid())); }