### Question:
ArchivaItemSelector implements ItemSelector { @Override public String getType( ) { return type; } private  ArchivaItemSelector( ); static Builder builder( ); @Override String getProjectId( ); @Override String getNamespace( ); @Override String getVersion( ); @Override String getArtifactVersion( ); @Override String getArtifactId( ); @Override String getType( ); @Override String getClassifier( ); @Override String getAttribute( String key ); @Override String getExtension(  ); @Override Map<String, String> getAttributes( ); @Override boolean recurse( ); @Override boolean includeRelatedArtifacts( ); @Override boolean hasAttributes( ); @Override boolean hasExtension( ); @Override boolean equals( Object o ); @Override int hashCode( );  }### Answer:
@Test void getType( ) { ArchivaItemSelector selector = ArchivaItemSelector.builder( ).withType( "javadoc" ).build(); assertEquals( "javadoc", selector.getType() ); assertFalse( selector.hasProjectId( ) ); assertFalse( selector.hasVersion( ) ); assertFalse( selector.hasArtifactId( ) ); assertFalse( selector.hasArtifactVersion( ) ); assertTrue( selector.hasType( ) ); assertFalse( selector.hasClassifier( ) ); assertFalse( selector.hasAttributes( ) ); assertEquals( "", selector.getNamespace( ) ); assertEquals( "", selector.getVersion( ) ); assertEquals( "", selector.getArtifactId( ) ); assertEquals( "", selector.getArtifactVersion( ) ); assertEquals( "", selector.getClassifier( ) ); assertNotNull( selector.getAttributes( ) ); }