MaryData { public Document getDocument() { return xmlDocument; } MaryData(MaryDataType type, Locale locale);  MaryData(MaryDataType type, Locale locale, boolean createStubDocument); boolean getValidating(); void setValidating(boolean doValidate); MaryDataType getType(); Locale getLocale(); void readFrom(InputStream is); void readFrom(InputStream is, String endMarker); void readFrom(Reader from); void readFrom(Reader from, String endMarker); void setData(String dataString); void writeTo(OutputStream os); void writeTo(Writer w); Object getData(); String getPlainText(); void setPlainText(String plainText); Document getDocument(); void setDocument(Document xmlDocument); AudioInputStream getAudio(); void setAudio(AudioInputStream audio); void setDefaultVoice(Voice voice); Voice getDefaultVoice(); void setDefaultStyle(String style); String getDefaultStyle(); void setDefaultEffects(String effects); String getDefaultEffects(); void setAudioFileFormat(AudioFileFormat audioFileFormat); AudioFileFormat getAudioFileFormat(); void append(MaryData md); void appendAudio(AudioInputStream audioToAppend); void setOutputParams(String params); String getOutputParams(); String toString();  }
@Test public void testConstructor2() { MaryData md = new MaryData(MaryDataType.RAWMARYXML, null, false); assertTrue(md.getDocument() == null); }
@Test public void testConstructor3() { MaryData md = new MaryData(MaryDataType.RAWMARYXML, null, true); assertTrue(md.getDocument() != null); }
@Test public void testConstructor7() { MaryData md = new MaryData(MaryDataType.TEXT, Locale.GERMAN, true); assertTrue(md.getDocument() == null); }
@Test public void testConstructor8() { MaryData md = new MaryData(MaryDataType.AUDIO, null, true); assertTrue(md.getDocument() == null); }
@Test public void testConstructor9() { MaryData md = new MaryData(MaryDataType.SSML, null, true); assertTrue(md.getDocument() == null); }