@BeforeEach
    void before() throws Exception {
        MockitoAnnotations.openMocks(this).close();
    }
@author Scott Battaglia
@author Jan Van der Velpen
@since 3.0.0
support/cas-server-support-x509-core/src/test/java/org/apereo/cas/adaptors/x509/authentication/principal/X509SubjectDNPrincipalResolverTests.java