Search in sources :

Example 11 with NumericNormalizer

use of org.apache.directory.api.ldap.model.schema.normalizers.NumericNormalizer in project directory-ldap-api by apache.

the class NumericNormalizerTest method testNumericNormalizerEmpty.

@Test
public void testNumericNormalizerEmpty() throws LdapException {
    Normalizer normalizer = new NumericNormalizer();
    assertEquals("", normalizer.normalize(""));
}
Also used : NumericNormalizer(org.apache.directory.api.ldap.model.schema.normalizers.NumericNormalizer) NumericNormalizer(org.apache.directory.api.ldap.model.schema.normalizers.NumericNormalizer) Normalizer(org.apache.directory.api.ldap.model.schema.Normalizer) Test(org.junit.Test)

Aggregations

NumericNormalizer (org.apache.directory.api.ldap.model.schema.normalizers.NumericNormalizer)11 Normalizer (org.apache.directory.api.ldap.model.schema.Normalizer)9 Test (org.junit.Test)9 LdapException (org.apache.directory.api.ldap.model.exception.LdapException)2 BigInteger (java.math.BigInteger)1