// Path: mymicroservice-server-qtest/src/main/java/no/jansoren/mymicroservice/qtest/services/SomethingService.java
// public class SomethingService {
//   private WebTarget target;
// 
//   public SomethingService() {
//     Client client = ClientBuilder.newClient();
//     target = client.target("http://localhost:8080").path("/something");
//   }
// 
//   public Response doSomething() {
//     Response response = target.path("/do").request(MediaType.APPLICATION_JSON_TYPE).get();
//     return response.readEntity(Response.class);
//   }
// 
//   public Integer getSomething() {
//     Response response = target.path("/get").request(MediaType.APPLICATION_JSON_TYPE).get();
//     return response.readEntity(Integer.class);
//   }
// }


import no.jansoren.mymicroservice.qtest.services.SomethingService;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import javax.ws.rs.core.Response;

package no.jansoren.mymicroservice.qtest;



public class SomethingTest {


    private SomethingService service;

    @Before
    public void setUp() {

// Path: mymicroservice-server-qtest/src/main/java/no/jansoren/mymicroservice/qtest/services/SomethingService.java
// public class SomethingService {
//   private WebTarget target;
// 
//   public SomethingService() {
//     Client client = ClientBuilder.newClient();
//     target = client.target("http://localhost:8080").path("/something");
//   }
// 
//   public Response doSomething() {
//     Response response = target.path("/do").request(MediaType.APPLICATION_JSON_TYPE).get();
//     return response.readEntity(Response.class);
//   }
// 
//   public Integer getSomething() {
//     Response response = target.path("/get").request(MediaType.APPLICATION_JSON_TYPE).get();
//     return response.readEntity(Integer.class);
//   }
// }


// Path: mymicroservice-server-qtest/src/test/java/no/jansoren/mymicroservice/qtest/SomethingTest.java
import no.jansoren.mymicroservice.qtest.services.SomethingService;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import javax.ws.rs.core.Response;

package no.jansoren.mymicroservice.qtest;



public class SomethingTest {


    private SomethingService service;

    @Before
    public void setUp() {

        service = new SomethingService();
