Failed to decode:Cannot deserialize value of type `java.util.LinkedHashMap<java.lang.Object,java.lang.Object>` from Array value (token `JsonToken.START_ARRAY`)
     at [Source:
       "[
    	{
    		"type": "category",
    		"suggestion": "Furadeira com Impacto"
    	},
    	{
    		"type": "sub_group",
    		"suggestion": "Furadeira Elétrica"
    	},
    	{
    		"type": "group",
    		"suggestion": "Ferramentas Elétricas"
    	}
    ]" Este é meu json.
Na classe principal ele funciona. porém aqui embaixo usando o mock nessa classe teste ele nao vai.
já tentei de tudo, problema que a deserialização é feita pelo mock server.
alguem consegue me ajudar?
@DisplayName("")
	void shouldSearchSuggestionTree() throws IOException {
		var file = new File("src/test/resources");
		var filePath = Paths.get(file.getAbsolutePath(), "mock_elastic_find_suggestion.json");
		var content = Files.readString(filePath);
		
		SearchProduct build = SearchProduct.builder().id("qry_sugestoes_arvores")
				.params(Params.builder().search("furadeira").startRegistry(0).limit(5).build()).build();
			mockServer.when(request().withMethod("GET").withPath("/sugestoes-arvores/_search/template"))
					.respond(response().withStatusCode(200).withBody(content));
		
		var response = repository.findSuggestionTree(build);
		assertFalse(false);