mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-13 20:29:39 +02:00
Introduce ProviderFactory.
The goal is to become Provider-agnostic one day
This commit is contained in:
parent
ed440e4434
commit
9a9f706e83
3 changed files with 58 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
package org.pgpainless;
|
||||
|
||||
import static junit.framework.TestCase.assertEquals;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.pgpainless.provider.ProviderFactory;
|
||||
|
||||
public class ProviderFactoryTest {
|
||||
|
||||
@Test
|
||||
public void providerFactoryDefaultIsBouncyCastleTest() {
|
||||
assertEquals("BC", ProviderFactory.getProviderName());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue