Mocking Quartz JobExecutionContext, Trigger, TriggerKey using Mockito

后端 未结 0 598
野性不改
野性不改 2021-01-12 09:31

How to mock this line.? String Triggername=context.getTrigger().getKey().getName()

Error: TriggerKey cannot be mocked org.mockito.exceptions.base.MockitoException: Ca

相关标签:
回答
  • 消灭零回复
提交回复
热议问题