@Test public void provider() { EnclaveKeySynchroniser enclaveKeySynchroniser = EnclaveKeySynchroniserFactory.provider(); assertThat(enclaveKeySynchroniser) .isNotNull() .isExactlyInstanceOf(EnclaveKeySynchroniserImpl.class); }
public static EnclaveKeySynchroniser provider() { Enclave enclave = EnclaveFactory.create().enclave().get(); NetworkStore networkStore = NetworkStore.getInstance(); return new EnclaveKeySynchroniserImpl(enclave, networkStore); }
EnclaveKeySynchroniserFactory implements EnclaveKeySynchroniser { public static EnclaveKeySynchroniser provider() { Enclave enclave = EnclaveFactory.create().enclave().get(); NetworkStore networkStore = NetworkStore.getInstance(); return new EnclaveKeySynchroniserImpl(enclave, networkStore); } }
EnclaveKeySynchroniserFactory implements EnclaveKeySynchroniser { public static EnclaveKeySynchroniser provider() { Enclave enclave = EnclaveFactory.create().enclave().get(); NetworkStore networkStore = NetworkStore.getInstance(); return new EnclaveKeySynchroniserImpl(enclave, networkStore); } EnclaveKeySynchroniserFactory(); protected  EnclaveKeySynchroniserFactory(EnclaveKeySynchroniser synchroniser); }
EnclaveKeySynchroniserFactory implements EnclaveKeySynchroniser { public static EnclaveKeySynchroniser provider() { Enclave enclave = EnclaveFactory.create().enclave().get(); NetworkStore networkStore = NetworkStore.getInstance(); return new EnclaveKeySynchroniserImpl(enclave, networkStore); } EnclaveKeySynchroniserFactory(); protected  EnclaveKeySynchroniserFactory(EnclaveKeySynchroniser synchroniser); static EnclaveKeySynchroniser provider(); @Override void syncKeys(); }
EnclaveKeySynchroniserFactory implements EnclaveKeySynchroniser { public static EnclaveKeySynchroniser provider() { Enclave enclave = EnclaveFactory.create().enclave().get(); NetworkStore networkStore = NetworkStore.getInstance(); return new EnclaveKeySynchroniserImpl(enclave, networkStore); } EnclaveKeySynchroniserFactory(); protected  EnclaveKeySynchroniserFactory(EnclaveKeySynchroniser synchroniser); static EnclaveKeySynchroniser provider(); @Override void syncKeys();  }