One question in short: can phpunit use multiple data provider when running test?
For example, I have a method called getById, and I need to run both successful and unsuc
You can also use CrossDataProviders which allows you to use a combination of data providers with each other
assertNull($this->model->getById($id)); } function provideInvalidIdAndValues() { return DataProviders::cross( [[1], [2], [3]], [['Rob'], ['John'], ['Dennis']] ); }