Build and Release Plan for FHIR2 Module

Build: #378 failed

Job: Build and test Module failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Unnecessary mockito stubbings: Test case result

The below summarizes the result of the test "Unnecessary mockito stubbings" in build 378 of FHIR - FHIR2 Module - Build and test Module. View test case history
Description
Unnecessary mockito stubbings
Test class
org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest
Method
unnecessary Mockito stubbings
Duration
< 1 sec
Status
Failed (New 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:167)
  2. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:168)
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:167)
  2. -> at org.openmrs.module.fhir2.web.util.OpenmrsFhirAddressStrategyTest.shouldProperlyHandleStandardProxyHeaders(OpenmrsFhirAddressStrategyTest.java:168)
Please remove unnecessary stubbings or use 'lenient' strictness. More info: javadoc for UnnecessaryStubbingException class.