private void testSource(final Source source) {
Runnable testJob = new Runnable() {
@Override
public void run() {
SourceConnectionTester tester = new SourceConnectionTester(source);
TestConnectionResult result = tester.testConnection();
showResult(source, result);
persistResult(source, result);
}
};
runAndTest(source, testJob);