### Question:
ServiceAmbassador implements RemoteServiceInterface { @Override public long doRemoteFunction(int value) { return safeCall(value); } ServiceAmbassador(); @Override long doRemoteFunction(int value);  }### Answer:
@Test public void test() { long result = new ServiceAmbassador().doRemoteFunction(10); assertTrue(result == 100 || result == RemoteServiceInterface.FAILURE); }
@Test void test() { long result = new ServiceAmbassador().doRemoteFunction(10); assertTrue(result == 100 || result == RemoteServiceStatus.FAILURE.getRemoteServiceStatusValue()); }