@Test
public void testBasicExportWithPromotedLegs() {

    SurvexExporter survexExporter = new SurvexExporter();
    Survey oneNorth = BasicTestSurveyCreator.createStraightNorthThroughRepeats();
    String content = survexExporter.getContent(oneNorth);
    Assert.assertTrue(content.contains("1\t2\t5.000\t0.00\t0.00"));
    Assert.assertTrue(content.contains(
            "{from: 5.000 0.00 0.00, 5.000 0.00 0.00, 5.000 0.00 0.00}"));
}