@Test public void testGetVersionInformation() { wilmaService.getVersionInformation(); verify(wilmaApplication).getVersionInformation(); verifyNoMoreInteractions(wilmaApplication, messageLoggingConfiguration, operationConfiguration, localhostBlockingConfiguration, stubConfiguration, fileUpload); }
public String getVersionInformation() { LOG.debug("Request application's version information."); return wilmaApplication.getVersionInformation(); }
WilmaService { public String getVersionInformation() { LOG.debug("Request application's version information."); return wilmaApplication.getVersionInformation(); } }
WilmaService { public String getVersionInformation() { LOG.debug("Request application's version information."); return wilmaApplication.getVersionInformation(); } WilmaService(Properties properties); }
WilmaService { public String getVersionInformation() { LOG.debug("Request application's version information."); return wilmaApplication.getVersionInformation(); } WilmaService(Properties properties); String getVersionInformation(); WilmaLoadInformation getActualLoadInformation(); boolean shutdownApplication(); MessageLoggingControlStatus getMessageLoggingStatus(); boolean setMessageLoggingStatus(MessageLoggingControlStatus control); OperationMode getOperationMode(); boolean setOperationMode(OperationMode mode); LocalhostControlStatus getLocalhostBlockingStatus(); boolean setLocalhostBlockingStatus(LocalhostControlStatus control); JSONObject getStubConfigInformation(); boolean changeStubConfigStatus(String groupName, StubConfigStatus status); boolean changeStubConfigOrder(String groupName, StubConfigOrder order); boolean dropStubConfig(String groupName); boolean persistActualStubConfig(); boolean uploadConditionChecker(String fileName, File file); boolean uploadTemplate(String fileName, File file); boolean uploadTemplateFormatter(String fileName, File file); boolean uploadStubConfiguration(String fileName, File file); boolean uploadStubConfiguration(WilmaStub resource); JSONObject callGetService(String queryString); void setWilmaApplication(WilmaApplication wilmaApplication); void setMessageLoggingConfiguration(MessageLoggingConfiguration messageLoggingConfiguration); void setOperationConfiguration(OperationConfiguration operationConfiguration); void setLocalhostBlockingConfiguration(LocalhostBlockingConfiguration localhostBlockingConfiguration); void setStubConfiguration(StubConfiguration stubConfiguration); void setFileUpload(Upload fileUpload); }
WilmaService { public String getVersionInformation() { LOG.debug("Request application's version information."); return wilmaApplication.getVersionInformation(); } WilmaService(Properties properties); String getVersionInformation(); WilmaLoadInformation getActualLoadInformation(); boolean shutdownApplication(); MessageLoggingControlStatus getMessageLoggingStatus(); boolean setMessageLoggingStatus(MessageLoggingControlStatus control); OperationMode getOperationMode(); boolean setOperationMode(OperationMode mode); LocalhostControlStatus getLocalhostBlockingStatus(); boolean setLocalhostBlockingStatus(LocalhostControlStatus control); JSONObject getStubConfigInformation(); boolean changeStubConfigStatus(String groupName, StubConfigStatus status); boolean changeStubConfigOrder(String groupName, StubConfigOrder order); boolean dropStubConfig(String groupName); boolean persistActualStubConfig(); boolean uploadConditionChecker(String fileName, File file); boolean uploadTemplate(String fileName, File file); boolean uploadTemplateFormatter(String fileName, File file); boolean uploadStubConfiguration(String fileName, File file); boolean uploadStubConfiguration(WilmaStub resource); JSONObject callGetService(String queryString); void setWilmaApplication(WilmaApplication wilmaApplication); void setMessageLoggingConfiguration(MessageLoggingConfiguration messageLoggingConfiguration); void setOperationConfiguration(OperationConfiguration operationConfiguration); void setLocalhostBlockingConfiguration(LocalhostBlockingConfiguration localhostBlockingConfiguration); void setStubConfiguration(StubConfiguration stubConfiguration); void setFileUpload(Upload fileUpload); static final String WILMA_HOST_KEY; static final String WILMA_INTERNAL_PORT_KEY; }