### Question:
ImportMetadataBuilder extends AbstractIdentifiableJavaStructureBuilder<ImportMetadata> { public static ImportMetadata getImport(final String callerMID, final JavaType typeToImport) { return new ImportMetadataBuilder(callerMID, 0, typeToImport.getPackage(), typeToImport, false, false).build(); } ImportMetadataBuilder(final ImportMetadata existing);  ImportMetadataBuilder(final String declaredbyMetadataId);  ImportMetadataBuilder(final String declaredbyMetadataId, final int modifier,
      final JavaPackage importPackage, final JavaType importType, final boolean isStatic,
      final boolean isAsterisk); static ImportMetadata getImport(final String callerMID, final JavaType typeToImport); ImportMetadata build(); JavaPackage getImportPackage(); JavaType getImportType(); boolean isAsterisk(); boolean isStatic(); void setAsterisk(final boolean asterisk); void setImportPackage(final JavaPackage importPackage); void setImportType(final JavaType importType); void setStatic(final boolean aStatic); CommentStructure getCommentStructure(); void setCommentStructure(CommentStructure commentStructure);  }### Answer:
@Test public void testGetImport() { final JavaType mockTypeToImport = mock(JavaType.class); final ImportMetadata importMetadata = ImportMetadataBuilder.getImport(CALLER_MID, mockTypeToImport); assertEquals(mockTypeToImport, importMetadata.getImportType()); assertEquals(0, importMetadata.getModifier()); assertFalse(importMetadata.isAsterisk()); assertFalse(importMetadata.isStatic()); }