In this case, I would check the two separately.
Having said that, I am not dogmatic about the approach of "only one test per test." Sometimes it just makes it more pragmatic to test several things in the same test - in particular, if getting to one endpoint means going through another point, sometimes it’s good to combine the two.
In this case, you will really test two separate things, and not one on the way to the other, so I would separate them.
source
share