Build and Release Plan for FHIR2 Module
Build: #379 failed
Job: Build and test Module failed
Unnecessary mockito stubbings: Test case result
The below summarizes the result of the test "Unnecessary mockito stubbings" in build 379 of FHIR - FHIR2 Module - Build and test Module.
- Description
- Unnecessary mockito stubbings
- Test class
- org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest
- Method
- unnecessary Mockito stubbings
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected in test class: OpenmrsFhirAddressStrategyTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:176) 2. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:177) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class. org.mockito.exceptions.misusing.UnnecessaryStubbingException: Unnecessary stubbings detected in test class: OpenmrsFhirAddressStrategyTest Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of code): 1. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:176) 2. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:177) Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.