HF RL Explorer

Issue: Per-mock strictness is not customizable and test-level strictness is ignored

Issue: Per-mock strictness is not customizable and test-level strictness is ignored: a task in LegoFlow-SWE (Harbor dataset). When using @MockitoSettings(strictness = Strictness.LENIENT) , the lenient behaviour is not applied to mocks. The mock still throws PotentialStubbingProblem even though the…

The task

When using `@MockitoSettings(strictness = Strictness.LENIENT)`, the lenient behaviour is not applied to mocks. The mock still throws `PotentialStubbingProblem` even though the test intends to be lenient. This happens because the mock’s default strictness overrides the test-level setting.

Part of Lego-X/LegoFlow-SWE.