Please split those checks:
```php
$this->setResourceName('resource')->shouldBeCalled();
$this->loadResources(array())->shouldBeCalled();