### Question:
EnclaveApplication extends Application implements com.quorum.tessera.config.apps.TesseraApp { @Override public CommunicationType getCommunicationType() { return CommunicationType.REST; } EnclaveApplication(final EnclaveResource resource); @Override Set<Object> getSingletons(); @Override AppType getAppType(); @Override CommunicationType getCommunicationType();  }### Answer:
@Test public void getCommunicationType() { assertThat(new EnclaveApplication(mock(EnclaveResource.class)).getCommunicationType()) .isEqualTo(CommunicationType.REST); }