### Question:
OutboundApi { @POST @Path("/outbound") @Consumes("application/json") @Produces("application/json") public Outbound addOutbound(@PathParam("id") LongParam id, Outbound body) { return outboundService.addOutbound(id.get(), body); } @Inject  OutboundApi(OutboundApiService outboundService); @POST @Path("/outbound") @Consumes("application/json") @Produces("application/json") /** * create a participant news item * socially broadcast participant news * @param id uniquely identifies the participant (required) * @param body outbound news item (required) * @return Outbound */ Outbound addOutbound(@PathParam("id") LongParam id,  Outbound body); @GET @Path("/outbound") @Produces("application/json") /** * retrieve the news posted by an individual participant * fetch a participant news * @param id uniquely identifies the participant (required) * @return List<Outbound> */ List<Outbound> getOutbound(@PathParam("id") LongParam id);  }### Answer:
@Test public void addOutboundTest() { assertTrue("Expected add outbound to return the input object but it did not.", api.addOutbound(TEST_FROM, outbound).equals(outbound)); }