Skip to content

Commit

Permalink
another test for check of expected instance to be retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
strehle committed May 4, 2023
1 parent 8edded2 commit 89708d9
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.cloudfoundry.identity.uaa.security;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

class SkipSslLdapSocketFactoryTest {

@Test
void testDefaultInstanceIsSkipSslLdapSocketFactory() {
Object ldapFactory = SkipSslLdapSocketFactory.getDefault();
assertNotNull(ldapFactory);
assertTrue(ldapFactory instanceof SkipSslLdapSocketFactory);
}
}

0 comments on commit 89708d9

Please sign in to comment.