Refactored StubRequest#equals(Object) for readability