My Apex test class coverage isn’t happening because of a condition I have written the below apex class