FixedTrustManagerFactoryTests Class — spring-boot Architecture
Architecture documentation for the FixedTrustManagerFactoryTests class in FixedTrustManagerFactoryTests.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot/src/test/java/org/springframework/boot/ssl/FixedTrustManagerFactoryTests.java lines 34–49
class FixedTrustManagerFactoryTests {
@Test
void shouldReturnTrustManagers() throws Exception {
TrustManager trustManager1 = mock(TrustManager.class);
TrustManager trustManager2 = mock(TrustManager.class);
FixedTrustManagerFactory factory = FixedTrustManagerFactory.of(getDefaultTrustManagerFactory(), trustManager1,
trustManager2);
assertThat(factory.getTrustManagers()).containsExactly(trustManager1, trustManager2);
}
private static TrustManagerFactory getDefaultTrustManagerFactory() throws NoSuchAlgorithmException {
return TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free