Add Unit Test Cases - #180
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4lzdeVRICu9efg&open=AaBr0e4lzdeVRICu9efg&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.anyLong'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e1azdeVRICu9eeV&open=AaBr0e1azdeVRICu9eeV&pullRequest=180
Check warning on line 506 in src/test/java/com/iemr/mmu/service/ncdCare/NCDCareServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3_zdeVRICu9efY&open=AaBr0e3_zdeVRICu9efY&pullRequest=180
Check warning on line 552 in src/test/java/com/iemr/mmu/service/covid19/Covid19ServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e0YzdeVRICu9eeS&open=AaBr0e0YzdeVRICu9eeS&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Mockito.verify'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4RzdeVRICu9efe&open=AaBr0e4RzdeVRICu9efe&pullRequest=180
Check warning on line 597 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eey&open=AaBr0e20zdeVRICu9eey&pullRequest=180
Check warning on line 27 in src/test/java/com/iemr/mmu/utils/http/HttpUtilsAndInterceptorTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.junit.jupiter.api.Assertions.assertThrows'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5yzdeVRICu9egA&open=AaBr0e5yzdeVRICu9egA&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e1lzdeVRICu9eee&open=AaBr0e1lzdeVRICu9eee&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Mockito.verify'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e1azdeVRICu9eeW&open=AaBr0e1azdeVRICu9eeW&pullRequest=180
Check warning on line 433 in src/test/java/com/iemr/mmu/service/ncdCare/NCDCareServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3_zdeVRICu9efR&open=AaBr0e3_zdeVRICu9efR&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e1lzdeVRICu9eeX&open=AaBr0e1lzdeVRICu9eeX&pullRequest=180
Check warning on line 534 in src/test/java/com/iemr/mmu/service/pnc/PNCServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e20zdeVRICu9eeu&open=AaBr0e20zdeVRICu9eeu&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.util.List'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e31zdeVRICu9efQ&open=AaBr0e31zdeVRICu9efQ&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.eq'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3izdeVRICu9efC&open=AaBr0e3izdeVRICu9efC&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3szdeVRICu9efI&open=AaBr0e3szdeVRICu9efI&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3szdeVRICu9efJ&open=AaBr0e3szdeVRICu9efJ&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e31zdeVRICu9efN&open=AaBr0e31zdeVRICu9efN&pullRequest=180
Check warning on line 561 in src/test/java/com/iemr/mmu/service/covid19/Covid19ServiceImplTest.java
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e0YzdeVRICu9eeU&open=AaBr0e0YzdeVRICu9eeU&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4lzdeVRICu9efj&open=AaBr0e4lzdeVRICu9efj&pullRequest=180
Check warning on line 31 in src/test/java/com/iemr/mmu/utils/redis/RedisStorageTest.java
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.Mockito.mock'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5ozdeVRICu9ef-&open=AaBr0e5ozdeVRICu9ef-&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'org.mockito.ArgumentMatchers.eq'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e3YzdeVRICu9ee_&open=AaBr0e3YzdeVRICu9ee_&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove this unused import 'java.io.PrintWriter'.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5fzdeVRICu9ef3&open=AaBr0e5fzdeVRICu9ef3&pullRequest=180
Check warning on line 96 in src/test/java/com/iemr/mmu/utils/JwtUserIdValidationFilterTest.java
sonarqubecloud / SonarCloud Code Analysis
Replace these 3 tests with a single Parameterized one.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e5VzdeVRICu9efw&open=AaBr0e5VzdeVRICu9efw&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e2BzdeVRICu9eel&open=AaBr0e2BzdeVRICu9eel&pullRequest=180
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AaBr0e4lzdeVRICu9efk&open=AaBr0e4lzdeVRICu9efk&pullRequest=180