Open ginere opened 10 years ago
When using Spring, we need to verify that all the beans was been correctly inserted before verify that the service works. Something like :
if (mailHandler == null) { log.fatal("Spring initializatin error, mailHandler:" + mailHandler + "parameterDAO:" + parameterDAO); return false; } if (!test(mailHandler)) { log.fatal("Error testing the mail"); }
It could be possible to made same function like:
public static TestResult test(String systemToTestName,TestInterface serviceToTest);
When using Spring, we need to verify that all the beans was been correctly inserted before verify that the service works. Something like :
It could be possible to made same function like: