### Question:
YumRepository extends RPMRepository<RPMRepoPackage> { public final boolean isGpgCheck() { return gpgCheck; } YumRepository(final String name,
                         final URL mirrorListUrl,
                         final URL baseUrl,
                         final boolean gpgCheck,
                         final String gpgKey);  YumRepository(final String name); protected  YumRepository(); final URL getMirrorListUrl(); final boolean isGpgCheck(); final String getGpgKey(); @Override final Set<RPMRepoPackage> listRemotePackages(); @Override final void measurePackage(final RPMRepoPackage repoPackage,
                                     final int maxDownloadAttempts); final void measurePackage(final RPMRepoPackage repoPackage);  }### Answer:
@Test public void testIsGpgCheck() { Assert.assertEquals(repo.isGpgCheck(), GPG_CHECK); }