Automated test cases