Again, let's go for simple and readable.  This assertion is robust and covers the concept of "we return the full data set when there are no args" which is mostly what we care about.
```
$this->assert_equal(4, count(legal_file::get_photo_types_by_extension()));
```