### Question:
TargetResolverService implements TargetResolver { @Override public Target resolveTargetForPath(String path) { TargetType codeUploadType = TargetType.CODE_UPLOAD; return new Target(path, codeUploadType); } TargetResolverService(); @Override Target resolveTargetForPath(String path); @Override Target resolveTarget(URI uri); @Override Target resolveTarget(InetAddress inetAdress);  }### Answer:
@Test public void path_always_resolved_as_code() throws Exception { assertEquals(new Target("x", TargetType.CODE_UPLOAD), serviceToTest.resolveTargetForPath("x")); }