### Question:
MessageDraft extends AddressedMessage { public void addStreamStop(String inStreamId) { this.mPartsList.add(new StreamWrapper(inStreamId, false)); } MessageDraft(VObject inDest); static List<MessageDraft> createFromPojo(Map<String, Object> inPojo, VObject inRfid, String inAPIKey); void addAudio(String url, boolean streaming, boolean movingEars); void addWebRadio(String url); void addTTS(Map<Lang, String> inTTSMap); void addPage2Browse(String inUrl); void addAudioStreamSecure(String inName, long inPosition); void addChoreography(String url, boolean streaming); void addPalette(Palette inPalette); void addStartInteractive(String inUrl); void addStartInteractive(VObject rfid); void addEndInteractive(); void addStreamId(String inStreamId); void addStreamStop(String inStreamId); void addSetting(String inSetting); void addWaitMs(int nbMs); void addSignature(MessageSignature inSignature); void addPojo(String inPojo, MimeType.MIME_TYPES format); final List<Sequence> getSequenceList(); final List<SequencePart> getSequencePart(); void fillMessageDraft(String inTitle, MessageSignature inSignature, MessageServices.Body[] inBody); void fillMessageDraft(MessageServices.Body... inBody); void addSequences(String[] inSequences, boolean isSecure);  }### Answer:
@Test public void addStreamStopTest() { final String streamId = "2"; final VObject theObject = getPrivateObject(); final MessageDraft theMessage = new MessageDraft(theObject); theMessage.addStreamStop(streamId); final List<Sequence> list = theMessage.getSequenceList(); Assert.assertEquals(1, list.size()); final int type = list.get(0).getType(); final String val = list.get(0).getData(); Assert.assertEquals(Sequence.SEQ_STREAMING_STOP, type); Assert.assertEquals(streamId, val); }