ClassUtils { public static String getClassNameForInternalName(String internalName) { return getClassName(getFullyQualifiedNameForInternalName(internalName)); }  static String getFullyQualifiedNameForInternalName(String internalName); static String getClassName(String fqClassName); static String getClassNameForInternalName(String internalName);  }
@Test public void getClassNameFromInternalNameReturnsCorrectNameForProperInternalName() { String result = getClassNameForInternalName("io/neow3j/blah/Test"); assertThat(result, is("Test")); }
@Test public void getClassNameFromInternalNameReturnsEmptyStringForEmptyInternalName() { String result = getClassNameForInternalName(""); assertThat(result, is("")); }