As a guideline, try to only have one assert per test. This allows you to easily see why a test fails. It would be better here to create two different tests if you would like to verify both of these cases.