Verification of notification recieved

Hello,

I had to automate notification recieved on notification i am able to get text from notification window but i don’t know how to verify it is being recieved from app i am testing or something else .Since all the app notifications have same id. I don’t know how should i do that?