### Question:
ParticipantService implements ParticipantApi { @Override public Outbound addOutbound(Long id, Outbound body) { info.glennengstrand.dao.cassandra.Outbound o = new info.glennengstrand.dao.cassandra.Outbound(); o.setParticipantId(id); o.setSubject(body.getSubject()); o.setStory(body.getStory()); o = outboundRepository.save(o); getFriend(id).stream().forEach(f -> { info.glennengstrand.api.Inbound i = new info.glennengstrand.api.Inbound() .from(body.getFrom()) .to(f.getTo()) .subject(body.getSubject()) .story(body.getStory()); addInbound(Link.extractId(f.getTo()), i); }); indexStory(id, body.getStory()); return body.occurred(convert(UUIDs.unixTimestamp(o.getOccured()))); }  @Override Participant addParticipant(Participant body); @Override List<Inbound> getInbound(Long id); Inbound addInbound(Long id, Inbound body); @Override Participant getParticipant(Long id); @Override Friend addFriend(Long id, Friend body); @Override List<Friend> getFriend(Long id); @Override Outbound addOutbound(Long id, Outbound body); @Override List<Outbound> getOutbound(Long id);  }### Answer:
@Test public void testAddOutbound() throws IOException { Outbound t = new Outbound().from(Link.toLink(fromParticipantId)).story("test story").subject("test subject").occurred(OffsetDateTime.now()); participantService.addOutbound(fromParticipantId, t); Mockito.verify(inboundRepository).save(Mockito.any()); }