@Test public void equalsHashCodeWhenSame() { DefaultResultSerializer resultSerializer1 = DefaultResultSerializer.createDefault(); DefaultResultSerializer resultSerializer2 = DefaultResultSerializer.createDefault(); assertThat(resultSerializer1).isEqualTo(resultSerializer2); assertThat(resultSerializer1.hashCode()).isEqualTo(resultSerializer2.hashCode()); }
static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); @Override String serialize(Server server, Query query, Result result); }
DefaultResultSerializer implements ResultSerializer { static DefaultResultSerializer createDefault() { return new DefaultResultSerializer(null, false, "", null, null); } @JsonCreator  DefaultResultSerializer(@JsonProperty("typeNames") List<String> typeNames,
									@JsonProperty("booleanAsNumber") boolean booleanAsNumber,
									@JsonProperty("rootPrefix") String rootPrefix,
									@JsonProperty("tags") Map<String, String> tags,
									@JsonProperty("resultTags") List<String> resultTags
									); @Override String serialize(Server server, Query query, Result result);  }