private StringDiscoveryContext context;
@BeforeMethod
public void setup() throws Exception
{
context = new StringDiscoveryContext(new MockServiceDiscovery<String>(), new RandomStrategy<String>(), 1000);
serviceNamesMarshaller = new JsonServiceNamesMarshaller();
serviceInstanceMarshaller = new JsonServiceInstanceMarshaller<String>(context);
serviceInstancesMarshaller = new JsonServiceInstancesMarshaller<String>(context);
Application application = new DefaultResourceConfig()