### Question:
ThirdPartyRestApp extends TesseraRestApplication { @Override public Set<Object> getSingletons() { final RawTransactionResource rawTransactionResource = new RawTransactionResource(transactionManager); final PartyInfoResource partyInfoResource = new PartyInfoResource(discovery); final KeyResource keyResource = new KeyResource(); return Stream.of(rawTransactionResource, partyInfoResource, keyResource).collect(Collectors.toSet()); } ThirdPartyRestApp(); @Override Set<Object> getSingletons(); @Override AppType getAppType();  }### Answer:
@Test public void getSingletons() { Set<Object> results = thirdParty.getSingletons(); assertThat(results).hasSize(3); }