### Question:
PlatformCredential extends DeviceAssociatedCertificate { public PlatformConfiguration getPlatformConfiguration() throws IllegalArgumentException, IOException { if (getAttribute("platformConfiguration") != null && getAttribute("platformConfiguration") instanceof PlatformConfiguration) { return (PlatformConfiguration) getAttribute("platformConfiguration"); } return null; } PlatformCredential(final byte[] certificateBytes,
                              final boolean parseFields);  PlatformCredential(final byte[] certificateBytes);  PlatformCredential(final Path certificatePath); protected  PlatformCredential(); static Selector select(final CertificateManager certMan); boolean isSignatureValid(final ContentVerifierProvider verifierProvider); static PlatformCredential parseWithPossibleHeader(final byte[] certificateBytes); String getCredentialType(); boolean isBase(); boolean isDeltaChain(); String getPlatformType(); String getManufacturer(); String getModel(); String getVersion(); String getPlatformSerial(); String getChassisSerialNumber(); int getMajorVersion(); int getMinorVersion(); int getRevisionLevel(); int getTcgCredentialMajorVersion(); int getTcgCredentialMinorVersion(); int getTcgCredentialRevisionLevel(); String getPlatformClass(); EndorsementCredential getEndorsementCredential(); void setEndorsementCredential(final EndorsementCredential ec); @Override int getX509CredentialVersion(); String getCPSuri(); String getComponentFailures(); void setComponentFailures(final String componentFailures); Map<String, Object> getAllAttributes(); Object getAttribute(final String attributeName); PlatformConfiguration getPlatformConfiguration(); URIReference getPlatformConfigurationURI(); TBBSecurityAssertion getTBBSecurityAssertion(); List<ComponentIdentifier> getComponentIdentifiers(); @Override @SuppressWarnings({"checkstyle:avoidinlineconditionals", "checkstyle:needbraces" }) boolean equals(final Object o); @Override @SuppressWarnings({"checkstyle:avoidinlineconditionals", "checkstyle:magicnumber" }) int hashCode(); static boolean isAlgIdEqual(final AlgorithmIdentifier id1,
                                       final AlgorithmIdentifier id2); static Map<String, String> getPolicyQualifier(
                final AttributeCertificateInfo certificate); static final String CERTIFICATE_TYPE_1_2; static final String CERTIFICATE_TYPE_2_0; }### Answer:
@Test public final void testPlatformConfiguration6() throws IOException, URISyntaxException { URL resource = this.getClass().getResource(TEST_BASE_PLATFORM_CERT_1); Path certPath = Paths.get(resource.toURI()); PlatformCredential platformCert = new PlatformCredential(certPath); PlatformConfiguration platformConfig = platformCert.getPlatformConfiguration(); Assert.assertTrue(platformConfig instanceof PlatformConfigurationV2); Assert.assertEquals(platformConfig.getPlatformPropertiesUri() .getUniformResourceIdentifier().toString(), "https: Assert.assertNotNull(platformConfig.getComponentIdentifierUri()); Assert.assertEquals(platformConfig.getComponentIdentifierUri() .getUniformResourceIdentifier().toString(), "https: }