### Question:
ScheduleUtil { public static String ownsignFromRunningEntry(String runningEntry) { if (runningEntry.indexOf("$") >= 0) { return runningEntry.substring(runningEntry.indexOf("$") + 1); } else { return OWN_SIGN_BASE; } }  static String getLocalHostName(); static String getLocalIP(); static String dataToString(Date d); static String runningEntryFromTaskName(String taskName, String ownSign); static String taskNameFromRunningEntry(String runningEntry); static String ownsignFromRunningEntry(String runningEntry); static int[] generateSequence(int nodeCount, int jobCount, int nodeCapacity); static String getLeader(Collection<String> serverUuidList); static boolean isLeader(String serverUuid, List<String> serverUuidList);  }### Answer:
@Test public void ownsignFromRunningEntry() { assertEquals("b", ScheduleUtil.ownsignFromRunningEntry("a$b")); assertEquals("b", ScheduleUtil.ownsignFromRunningEntry("$b")); assertEquals("BASE", ScheduleUtil.ownsignFromRunningEntry("b")); }