### Question:
RetrieveLocationsAdapter { public RetrieveLocationsHttpResponse retrieveLocations() { final RetrieveLocationsInputData registerLocationInputData = buildInputData(); inputPort.retrieveLocations(registerLocationInputData, outputPort); return outputPort; } RetrieveLocationsAdapter(final RetrieveLocationsInputPort inputPort); RetrieveLocationsHttpResponse retrieveLocations();  }### Answer:
@Test public void test_retrieveLocations_returnsOk() { final RetrieveLocationsAdapter registerLocationAdapter = new RetrieveLocationsAdapter( new MockRetrieveLocationsInputPort()); final RetrieveLocationsHttpResponse httpResponse = registerLocationAdapter .retrieveLocations(); Assertions.assertEquals(HttpStatus.OK, httpResponse.getHttpResponse().getStatus()); }
@Test public void test_retrieveLocations_returnsLocations() { final RetrieveLocationsAdapter registerLocationAdapter = new RetrieveLocationsAdapter( new MockRetrieveLocationsInputPort()); final RetrieveLocationsHttpResponse httpResponse = registerLocationAdapter .retrieveLocations(); Assertions.assertFalse(httpResponse.getLocations().isEmpty()); }