@Test public void createInstance() { final Encryptor result = this.kaliumFactory.create(); assertThat(result).isNotNull().isExactlyInstanceOf(Kalium.class); }
@Override public Encryptor create(Map<String, String> properties) { LOGGER.debug("Creating a Kalium implementation of NaclFacadeFactory"); final NaCl.Sodium sodium = NaCl.sodium(); return new Kalium(sodium); }
KaliumFactory implements EncryptorFactory { @Override public Encryptor create(Map<String, String> properties) { LOGGER.debug("Creating a Kalium implementation of NaclFacadeFactory"); final NaCl.Sodium sodium = NaCl.sodium(); return new Kalium(sodium); } }
KaliumFactory implements EncryptorFactory { @Override public Encryptor create(Map<String, String> properties) { LOGGER.debug("Creating a Kalium implementation of NaclFacadeFactory"); final NaCl.Sodium sodium = NaCl.sodium(); return new Kalium(sodium); }  }
KaliumFactory implements EncryptorFactory { @Override public Encryptor create(Map<String, String> properties) { LOGGER.debug("Creating a Kalium implementation of NaclFacadeFactory"); final NaCl.Sodium sodium = NaCl.sodium(); return new Kalium(sodium); }  @Override Encryptor create(Map<String, String> properties); @Override String getType(); }
KaliumFactory implements EncryptorFactory { @Override public Encryptor create(Map<String, String> properties) { LOGGER.debug("Creating a Kalium implementation of NaclFacadeFactory"); final NaCl.Sodium sodium = NaCl.sodium(); return new Kalium(sodium); }  @Override Encryptor create(Map<String, String> properties); @Override String getType();  }