Ao executar o JUnit test, é apresentado o erro: The project: loja which is referenced by the classpath, does not exist.
package br.com.alura.loja;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import junit.framework.Assert;
import org.junit.Test;
public class ClienteTest {
@Test
public void testaQueAConexaoComOServidorFunciona() {
Client client = ClientBuilder.newClient();
WebTarget target = client.target("http://www.mocky.io");
String conteudo = target.path("/v2/52aaf5deee7ba8c70329fb7d").request().get(String.class);
Assert.assertTrue(conteudo.contains("<rua>Rua Vergueiro 3185"));
}
}