@Test public void equalsWhenDifferent() { DefaultResultSerializer resultSerializer1 = DefaultResultSerializer.createDefault(); DefaultResultSerializer resultSerializer2 = new DefaultResultSerializer(asList("Type"), true, "root", null, null); assertThat(resultSerializer1).isNotEqualTo(resultSerializer2); }
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);  }