### Question:
NetworkRepositoryVertxImpl extends AbstractRepositoryVertxImpl implements NetworkRepository { @Override public Observable<NetworkType> getNetworkType() { Consumer<Handler<AsyncResult<NodeInfoDTO>>> callback = handler -> getNodeRoutesApi().getNodeInfo(handler); return exceptionHandling( call(callback).map(info -> NetworkType.rawValueOf(info.getNetworkIdentifier()))); } NetworkRepositoryVertxImpl(ApiClient apiClient); @Override Observable<NetworkType> getNetworkType(); @Override Observable<TransactionFees> getTransactionFees(); @Override Observable<RentalFees> getRentalFees(); @Override Observable<NetworkInfo> getNetworkInfo(); @Override Observable<NetworkConfiguration> getNetworkProperties(); NetworkRoutesApi getNetworkRoutesApi(); NodeRoutesApi getNodeRoutesApi();  }### Answer:
@Test void shouldGetNetworkType() throws Exception { NodeInfoDTO dto = new NodeInfoDTO(); dto.setNetworkIdentifier(NetworkType.MIJIN_TEST.getValue()); mockRemoteCall(dto); NetworkType info = repository.getNetworkType().toFuture().get(); Assertions.assertNotNull(info); Assertions.assertEquals(NetworkType.MIJIN_TEST, info); }