AspectMock icon indicating copy to clipboard operation
AspectMock copied to clipboard

verifyNeverInvoked retuns false positive results

Open OphiuchusAtaraxia opened this issue 5 years ago • 0 comments

When I use this method in this way

$WS->verifyNeverInvoked('callFactory', ['0', 'myCalledMethod', [
            'firstid' => 123,
            'secondId' => 123,
            'thirdId' => 124567,
            'data' => [
                'value' => 456
            ],
        ]]);

The test appeares as OK (green tick) even if the method «myCalledMethod» was called before with the same arguments

OphiuchusAtaraxia avatar Dec 06 '18 14:12 OphiuchusAtaraxia