test_class.file: app/src/test/java/org/hwyl/sexytopo/control/util/StationNamerTest.java
test_class.identifier: StationNamerTest
test_case.body: @Test
      public void testNameAdvancesNumberOnEstablishedBranch() {
          Survey testSurvey = BasicTestSurveyCreator.createStraightNorthWith1EBranch();
          String newName = StationNamer.generateNextStationName(
                  testSurvey, testSurvey.getStationByName("5"));
          int numberOfStations = testSurvey.getAllStations().size();
          Assert.assertEquals(Integer.toString(numberOfStations + 1), newName);
      }
test_case.class_method_signature: StationNamerTest.testNameAdvancesNumberOnEstablishedBranch()
test_case.full_signature: @Test public void testNameAdvancesNumberOnEstablishedBranch()
test_case.identifier: testNameAdvancesNumberOnEstablishedBranch
test_case.invocations: createStraightNorthWith1EBranch generateNextStationName getStationByName size getAllStations assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNameAdvancesNumberOnEstablishedBranch()
focal_class.file: app/src/main/java/org/hwyl/sexytopo/control/util/StationNamer.java
focal_class.identifier: StationNamer
focal_class.class_method_signature: StationNamer.generateOriginName()
focal_class.full_signature: public static String generateOriginName()
focal_class.identifier: generateOriginName
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String generateOriginName()
focal_class.class_method_signature: StationNamer.generateNextStationName(Survey survey, Station originatingStation)
focal_class.full_signature: public static String generateNextStationName(Survey survey, Station originatingStation)
focal_class.identifier: generateNextStationName
focal_class.modifiers: public static
focal_class.parameters: (Survey survey, Station originatingStation)
focal_class.return: String
focal_class.signature: String generateNextStationName(Survey survey, Station originatingStation)
focal_class.class_method_signature: StationNamer.advanceNumberIfNotUnique(Survey survey, String candidateName)
focal_class.full_signature: public static String advanceNumberIfNotUnique(Survey survey, String candidateName)
focal_class.identifier: advanceNumberIfNotUnique
focal_class.modifiers: public static
focal_class.parameters: (Survey survey, String candidateName)
focal_class.return: String
focal_class.signature: String advanceNumberIfNotUnique(Survey survey, String candidateName)
focal_class.class_method_signature: StationNamer.getAllStationNames(Survey survey)
focal_class.full_signature: public static Set<String> getAllStationNames(Survey survey)
focal_class.identifier: getAllStationNames
focal_class.modifiers: public static
focal_class.parameters: (Survey survey)
focal_class.return: Set<String>
focal_class.signature: Set<String> getAllStationNames(Survey survey)
focal_method.body: public static String generateNextStationName(Survey survey, Station originatingStation) {
          String originatingName = originatingStation.getName();
          String newUniqueName = advanceNumberIfNotUnique(survey, originatingName);
          return newUniqueName;
      }
focal_method.class_method_signature: StationNamer.generateNextStationName(Survey survey, Station originatingStation)
focal_method.full_signature: public static String generateNextStationName(Survey survey, Station originatingStation)
focal_method.identifier: generateNextStationName
focal_method.invocations: getName advanceNumberIfNotUnique
focal_method.modifiers: public static
focal_method.parameters: (Survey survey, Station originatingStation)
focal_method.return: String
focal_method.signature: String generateNextStationName(Survey survey, Station originatingStation)