use atelier_core::io::write_model_to_string; use atelier_describe::plant_uml::writer::PlantUmlWriter; use atelier_test::examples::motd::make_message_of_the_day_model; #[test] fn test_uml_writer() { let model = make_message_of_the_day_model().model; let mut writer = PlantUmlWriter::new(true); let output = write_model_to_string(&mut writer, &model); assert!(output.is_ok()); println!("{}", output.unwrap()) }