@Test(dataProvider = "messageLoggingControls") public void testSetMessageLoggingStatus(MessageLoggingControlStatus control) { wilmaService.setMessageLoggingStatus(control); verify(messageLoggingConfiguration).setMessageLoggingStatus(control); verifyNoMoreInteractions(wilmaApplication, messageLoggingConfiguration, operationConfiguration, localhostBlockingConfiguration, stubConfiguration, fileUpload); }
public boolean setMessageLoggingStatus(MessageLoggingControlStatus control) { LOG.debug("Set message logging status to: " + control); return messageLoggingConfiguration.setMessageLoggingStatus(control); }
WilmaService { public boolean setMessageLoggingStatus(MessageLoggingControlStatus control) { LOG.debug("Set message logging status to: " + control); return messageLoggingConfiguration.setMessageLoggingStatus(control); } }
WilmaService { public boolean setMessageLoggingStatus(MessageLoggingControlStatus control) { LOG.debug("Set message logging status to: " + control); return messageLoggingConfiguration.setMessageLoggingStatus(control); } WilmaService(Properties properties); }
WilmaService { public boolean setMessageLoggingStatus(MessageLoggingControlStatus control) { LOG.debug("Set message logging status to: " + control); return messageLoggingConfiguration.setMessageLoggingStatus(control); } 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 boolean setMessageLoggingStatus(MessageLoggingControlStatus control) { LOG.debug("Set message logging status to: " + control); return messageLoggingConfiguration.setMessageLoggingStatus(control); } 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; }