@Test
public void testJsonIsTranslatedToSurveyWithActiveStation() throws Exception {

    String json = "{\"active-station\":\"1\",\"connections\":{}}";
    Survey testSurvey = BasicTestSurveyCreator.createStraightNorth();
    testSurvey.setActiveStation(testSurvey.getStationByName("2"));
    MetadataTranslater.translateAndUpdate(null, testSurvey, json);
    Assert.assertEquals("1", testSurvey.getActiveStation().getName());
    Assert.assertEquals(0, testSurvey.getConnectedSurveys().size());
}