title: How bad is verifying a microservice in test scope? [JAVA]
body: <p>So I got a task where I have to verify the REST response of a remote micro service.
  For now, I built an app that calling the given REST endpoint and now I have to verify the result. </p>
  
  <p>My question is, where should I write the tests? If I write into the test scope with Junit/TestNG it should be unit tests with mocked objects, right?. But in this case, I couldn't test the remote service correctly. </p>
  
  <p>Is it a bad pattern to call real service from test scope using Junit?</p>
  
  <p>Thanks!</p>