{"action":"opened","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/236","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/236/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/issues/236/events","html_url":"https://github.com/sebastianbergmann/phpunit-mock-objects/issues/236","id":89951760,"number":236,"title":"Mocking two methods and expecting at least one of them will be called exactly once","user":{"login":"kiler129","id":1227834,"avatar_url":"https://avatars.githubusercontent.com/u/1227834?v=3","gravatar_id":"","url":"https://api.github.com/users/kiler129","html_url":"https://github.com/kiler129","followers_url":"https://api.github.com/users/kiler129/followers","following_url":"https://api.github.com/users/kiler129/following{/other_user}","gists_url":"https://api.github.com/users/kiler129/gists{/gist_id}","starred_url":"https://api.github.com/users/kiler129/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiler129/subscriptions","organizations_url":"https://api.github.com/users/kiler129/orgs","repos_url":"https://api.github.com/users/kiler129/repos","events_url":"https://api.github.com/users/kiler129/events{/privacy}","received_events_url":"https://api.github.com/users/kiler129/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-21T19:41:17Z","updated_at":"2015-06-21T19:41:17Z","closed_at":null,"body":"Hello everyone.\r\nTesting one of my projects I found one problem which I couldn't resolve. I'm expecting that method will emit warning with certain message using PSR-complaint logger. If you look at [PSR LoggerInterface](https://github.com/php-fig/log/blob/master/Psr/Log/LoggerInterface.php) you can see message can be printed using either `$logger->warning(...)` or `$logger->log(LogLevel::WARNING, ...)`.\r\n\r\nI wish to test if method calls  `$logger->warning(...)` at exactly once OR `$logger->log(LogLevel::WARNING, ...)` exactly once.\r\nHow to test against that scenario?"}}