### Question:
MavenContentHelper { static String getClassifierFromType( final String type ) { String testType = type.trim( ).toLowerCase( ); switch (testType.length( )) { case 7: if ("javadoc".equals(testType)) { return "javadoc"; } case 8: if ("test-jar".equals(testType)) { return "tests"; } case 10: if ("ejb-client".equals(testType)) { return "client"; } case 11: if ("java-source".equals(testType)) { return "sources"; } default: return ""; } } MavenContentHelper(); void setMetadataReader( MavenMetadataReader metadataReader ); static String getNamespaceFromNamespacePath( final StorageAsset namespacePath); String getArtifactVersion( StorageAsset artifactDir, ItemSelector selector); String getLatestArtifactSnapshotVersion( StorageAsset artifactDir, String snapshotVersion); static final Pattern UNIQUE_SNAPSHOT_NUMBER_PATTERN; static final String METADATA_FILENAME; static final String METADATA_REPOSITORY_FILENAME; }### Answer:
@Test void getClassifierFromType( ) { assertClassifier( "sources", "java-source" ); assertClassifier( "tests", "test-jar" ); assertClassifier( "client", "ejb-client" ); assertClassifier( "javadoc", "javadoc" ); assertClassifier( "", "test" ); }