CodeListFactory { @NotNull static String fromText(@NotNull String codeListItemString) { final int marker = codeListItemString.indexOf(CODE_LIST_MARKER); if (marker < 0) { return codeListItemString; } return codeListItemString.substring(marker + 1).trim(); } private  CodeListFactory();   }
@Test public void canExtractValuesFromStrings() { assertEquals("x", CodeListFactory.fromText("1=x")); assertEquals("hi", CodeListFactory.fromText("hi")); }