Antivirus test
To verify that real-time protection is detecting viruses, use a test file from eicar.com. This is a harmless file detectable by all antivirus programs created by the EICAR company (European Institute for Computer Antivirus Research).
To test your Antivirus functionality, create a text file that contains the following string:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
For more information and to download test files, visit https://www.eicar.org/download-anti-malware-testfile/