@Test
public final void testSendMail() {

    PolicyNotificationMail notificationMail = new PolicyNotificationMail();
    try {
        notificationMail.sendMail(version, policyName, "EditPolicy", commonClassDao);
        notificationMail.sendMail(version, policyName, "Rename", commonClassDao);
        notificationMail.sendMail(version, policyName, "DeleteAll", commonClassDao);
        notificationMail.sendMail(version, policyName, "DeleteOne", commonClassDao);
        notificationMail.sendMail(version, policyName, "DeleteScope", commonClassDao);
        notificationMail.sendMail(version, policyName, "SwitchVersion", commonClassDao);
        notificationMail.sendMail(version, policyName, "Move", commonClassDao);
    } catch (Exception e) {
        fail();
    }
}