[Test][api] Improvement `DataSourceServiceTest`
Describe the question Improvement the DataSourceServiceTest test case for DataSourceService for full coverage (100% method coverage).
Test case example https://github.com/apache/incubator-dolphinscheduler/blob/dev/dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionServiceTest.java
Test case specifications https://dolphinscheduler.apache.org/zh-cn/docs/development/unit-test.html Important: Need to improvement the test case according to the specifications
Which version of DolphinScheduler: -[dev]
Anyone who want to take it, welcome to leave a message~
I will take [Test-3558] to write the unittest to full coverage.