Looks like you are using a try/catch to assert that the collection is empty, if that is the case, please create a new method for that without using the try/catch.