### Question:
RPMRepoPackage extends RepoPackage { public static String parseArchitecture(final String filename) { return parseItem(filename, "architecture"); } RPMRepoPackage(final String name, final String version, final String release,
                          final String architecture, final Repository sourceRepository); protected  RPMRepoPackage(); final String getRPMIdentifier(); static String parseRPMCompleteVersion(final String filename); static String parseName(final String filename); static String parseVersion(final String filename); static String parseRelease(final String filename); static String parseArchitecture(final String filename); static boolean isRpmFilename(final String filename);  }### Answer:
@Test public void testParseArchitecture() { Assert.assertEquals(RPMRepoPackage.parseArchitecture(RPM_FILENAME), RPM_ARCH); Assert.assertNull(RPMRepoPackage.parseArchitecture(INVALID_RPM_FILENAME)); Assert.assertNull(RPMRepoPackage.parseArchitecture(NOT_AN_RPM_FILENAME)); }