@Test
    void verifyHexPrincipalOddFalse() {
        val r = new X509SerialNumberPrincipalResolver(resolutionContext);
        r.setRadix(16);
        val mockCert = mock(X509Certificate.class);
        when(mockCert.getSerialNumber()).thenReturn(BigInteger.valueOf(300L));

        val principal = r.resolvePrincipalInternal(mockCert);
        assertEquals("12c", principal);
    }
@author Scott Battaglia
@author Jan Van der Velpen
@since 3.0.0.6
support/cas-server-support-x509-core/src/test/java/org/apereo/cas/adaptors/x509/authentication/principal/X509SerialNumberPrincipalResolverTests.java