### Question:
VersioningUtils { public static final Boolean isUntagged(String appName) throws VersioningSyntaxException { Boolean isUntagged = false; String untaggedName = VersioningUtils.getUntaggedName(appName); if (untaggedName != null && untaggedName.equals(appName)) { isUntagged = true; } return isUntagged; }  static final String getUntaggedName(String appName); static final String getExpression(String appName); static final void checkIdentifier(String appName); static final List<String> getVersions(String untaggedName,
            List<Application> allApplications); static final List<String> matchExpression(List<String> listVersion, String appName); static final String getRepositoryName(String appName); static final Boolean isUntagged(String appName); static final Boolean isVersionExpression(String appName); static final Boolean isVersionExpressionWithWildCard(String appName); static final Boolean isVersionIdentifier(String appName); static final LocalStringManagerImpl LOCALSTRINGS; static final String EXPRESSION_SEPARATOR; static final String EXPRESSION_WILDCARD; static final String REPOSITORY_DASH; }### Answer:
@Test public void testIsUntagged() { try{ VersioningUtils.isUntagged(APPLICATION_NAME+":"); fail("an exception has to be thrown when '"+APPLICATION_NAME+":' is supplied to isUntagged method"); } catch(VersioningException e){} try{ VersioningUtils.isUntagged(":BETA"); fail("an exception has to be thrown when ':BETA' is supplied to isUntagged method"); } catch(VersioningException e){} try{ VersioningUtils.isUntagged("::"); fail("an exception has to be thrown when '::' is supplied to isUntagged method"); } catch(VersioningException e){} assertEquals(false, VersioningUtils.isUntagged(null)); assertEquals(false, VersioningUtils.isUntagged(APPLICATION_NAME+":*")); assertEquals(false, VersioningUtils.isUntagged(APPLICATION_NAME+":BETA*")); assertEquals(false, VersioningUtils.isUntagged(APPLICATION_NAME+":BETA")); assertEquals(false, VersioningUtils.isUntagged(APPLICATION_NAME+"::")); assertEquals(false, VersioningUtils.isUntagged(APPLICATION_NAME+":BETA:2")); }