11
22package org .jruby .ext .openssl ;
33
4- import static org .junit .Assert .assertEquals ;
5- import static org .junit .Assert .assertNotNull ;
6- import static org .junit .Assert .assertNull ;
7- import static org .junit .Assert .assertSame ;
8- import static org .junit .Assert .fail ;
4+ import static org .junit .jupiter . api . Assertions .assertEquals ;
5+ import static org .junit .jupiter . api . Assertions .assertNotNull ;
6+ import static org .junit .jupiter . api . Assertions .assertNull ;
7+ import static org .junit .jupiter . api . Assertions .assertSame ;
8+ import static org .junit .jupiter . api . Assertions .fail ;
99
1010import java .security .KeyStoreException ;
1111import java .security .NoSuchAlgorithmException ;
1515import java .security .cert .CertificateException ;
1616import java .security .cert .CertificateFactory ;
1717
18- import org .junit .After ;
19- import org .junit .Before ;
20- import org .junit .Test ;
18+ import org .junit .jupiter . api . AfterEach ;
19+ import org .junit .jupiter . api . BeforeEach ;
20+ import org .junit .jupiter . api . Test ;
2121
2222/**
2323 * @author kares
@@ -31,12 +31,12 @@ public static void setBouncyCastleProvider() {
3131
3232 private Provider savedProvider ;
3333
34- @ Before
34+ @ BeforeEach
3535 public void saveSecurityProvider () {
3636 savedProvider = SecurityHelper .getSecurityProvider ();
3737 }
3838
39- @ After
39+ @ AfterEach
4040 public void restoreSecurityProvider () {
4141 SecurityHelper .securityProvider = savedProvider ;
4242 }
0 commit comments