DefaultGatewayRequestContext implements GatewayRequestContext { @Override public boolean equals(final Object other) { if (this == other) { return true; } if (other == null) { return false; } if (!getClass().equals(other.getClass())) { return false; } DefaultGatewayRequestContext castOther = (DefaultGatewayRequestContext) other; return Objects.equals(accountId, castOther.accountId) && Objects.equals(resourceId, castOther.resourceId) && Objects.equals(stage, castOther.stage) && Objects.equals(requestId, castOther.requestId) && Objects.equals(identity, castOther.identity) && Objects.equals(resourcePath, castOther.resourcePath) && Objects.equals(httpMethod, castOther.httpMethod) && Objects.equals(apiId, castOther.apiId) && Objects.equals(authorizer, castOther.authorizer); } DefaultGatewayRequestContext();   DefaultGatewayRequestContext(String accountId, String resourceId, String stage, String requestId,
			DefaultGatewayIdentity identity, String resourcePath, String httpMethod, String apiId, Map<String, Object> authorizer); @Override String getAccountId(); void setAccountId(String accountId); @Override String getResourceId(); void setResourceId(String resourceId); @Override String getStage(); void setStage(String stage); @Override String getRequestId(); void setRequestId(String requestId); @Override GatewayIdentity getIdentity(); void setIdentity(DefaultGatewayIdentity identity); @Override String getResourcePath(); void setResourcePath(String resourcePath); @Override String getHttpMethod(); void setHttpMethod(String httpMethod); @Override String getApiId(); void setApiId(String apiId); @Override Map<String, Object> getAuthorizer(); void setAuthorizer(Map<String, Object> authorizer); @Override boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }
@Test public void testEquals() { DefaultGatewayIdentity identity = new DefaultGatewayIdentity(); new CopyConstructorEqualsTester(getConstructor()) .addArguments(0, null, "accountId") .addArguments(1, null, "resourceId") .addArguments(2, null, "stage") .addArguments(3, null, "requestId") .addArguments(4, null, identity) .addArguments(5, null, "resourcePath") .addArguments(6, null, "httpMethod") .addArguments(7, null, "apiId") .addArguments(8, null, Collections.singletonMap("123", "123")) .testEquals(); }