### Question:
DefaultManifestParser implements ManifestAttributeSupplier { @Override public int getVersionCode() { init(); String versionCode = attributeValues.get(VERSION_CODE); return (int) parseIntValueOrDefault(versionCode, -1, -1); } DefaultManifestParser(
            @NonNull File manifestFile,
            @NonNull BooleanSupplier canParseManifest,
            @Nullable EvalIssueReporter issueReporter); @Nullable @Override String getPackage(); @Nullable @Override String getSplit(); @Nullable @Override String getVersionName(); @Override int getVersionCode(); @Override @NonNull Object getMinSdkVersion(); @Override @NonNull Object getTargetSdkVersion(); @Nullable @Override String getInstrumentationRunner(); @Nullable @Override String getTargetPackage(); @Nullable @Override Boolean getFunctionalTest(); @Nullable @Override Boolean getHandleProfiling(); @Nullable @Override String getTestLabel(); @Nullable @Override Boolean getExtractNativeLibs();  }### Answer:
@Test public void getVersionCode() { int versionCode = defaultManifestParser.getVersionCode(); assertThat(versionCode).isEqualTo(1); }