Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAs_Object_Success (0.99 sec)

  1. src/test/java/jcifs/pac/ASN1UtilTest.java

    import org.bouncycastle.asn1.DLSequence;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the {@link ASN1Util} class.
     */
    class ASN1UtilTest {
    
        // --- as(Class, Object) ---
    
        @Test
        void testAs_Object_Success() throws PACDecodingException {
            // Test successful casting
            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top