Package org.pac4j.core.profile.converter

Examples of org.pac4j.core.profile.converter.StringReplaceConverter


    public void testNotAString() {
        assertNull(converter.convert(Boolean.TRUE));
    }
   
    public void testBadRegex() {
        final StringReplaceConverter converter = new StringReplaceConverter(null, GOOD_REPLACEMENT);
        assertNull(converter.convert(GOOD_STRING));
    }
View Full Code Here


        final StringReplaceConverter converter = new StringReplaceConverter(null, GOOD_REPLACEMENT);
        assertNull(converter.convert(GOOD_STRING));
    }
   
    public void testBadReplacement() {
        final StringReplaceConverter converter = new StringReplaceConverter(GOOD_REGEX, null);
        assertNull(converter.convert(GOOD_STRING));
    }
View Full Code Here

TOP

Related Classes of org.pac4j.core.profile.converter.StringReplaceConverter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.