BitcointoyouExchange extends BaseExchange implements Exchange { @Override public SynchronizedValueFactory<Long> getNonceFactory() { return nonceFactory; }  @Override ExchangeSpecification getDefaultExchangeSpecification(); @Override SynchronizedValueFactory<Long> getNonceFactory();  }
@Test public void testNonceFactory() throws Exception { final SoftAssertions softly = new SoftAssertions(); SynchronizedValueFactory<Long> nonceFactory = sut.getNonceFactory(); softly.assertThat(nonceFactory).isNotNull(); softly.assertThat(nonceFactory).isInstanceOf(AtomicLongIncrementalTime2013NonceFactory.class); softly.assertAll(); }