### Question:
ContextUtils { public static String getWithoutSubContext(String taskContextId) { int idx = taskContextId.indexOf(CONTEXT_SEPARATOR); return idx==-1 ? taskContextId : taskContextId.substring(0, idx); }  static String getTaskContextId(String processContextId, String subContext); static String getWithoutSubContext(String taskContextId); static final String CONTEXT_SEPARATOR; }### Answer:
@Test public void testGetWithoutSubContext() { assertEquals("123", ContextUtils.getWithoutSubContext("123")); assertEquals("123", ContextUtils.getWithoutSubContext("123###1")); }