WilmaService { public WilmaLoadInformation getActualLoadInformation() { LOG.debug("Request application's actual load information."); return wilmaApplication.getActualLoadInformation(); } 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; }
@Test public void testGetActualLoadInformation() { wilmaService.getActualLoadInformation(); verify(wilmaApplication).getActualLoadInformation(); verifyNoMoreInteractions(wilmaApplication, messageLoggingConfiguration, operationConfiguration, localhostBlockingConfiguration, stubConfiguration, fileUpload); }