Allow checking that a resource hamdles a response correctly.