Have two mock methods setAsy1 and setAsy2 that returns the same values. Currently I need to call twice the same method function to setup mock methods. Is there any way I can setup with a single call?
$transferItemMockf->expects($this->any())
->method('setAsy1')
->willReturn($id);
$transferItemMockf->expects($this->any())
->method('setAsy2')
->willReturn($id);