UssdStreamEvent implements StreamEvent { public static Builder builder() { return new Builder(); } UssdStreamEvent(final Sid sid, final Sid accountSid, final String from, final String to, final Status status,
                           final Direction direction, final String request, final DateTime dateCreated); static Builder builder(); Sid getSid(); Sid getAccountSid(); String getFrom(); String getTo(); Status getStatus(); Direction getDirection(); String getRequest(); DateTime getDateCreated();  }
@Test public void buildUssdStreamEventTest() { UssdStreamEvent expected = UssdStreamEvent.builder() .setTo(UUID.randomUUID().toString()) .setFrom(UUID.randomUUID().toString()) .setStatus(UssdStreamEvent.Status.completed) .setDirection(UssdStreamEvent.Direction.inbound) .build(); assertNotNull(expected); }