@isTest
private class BatchEmailUtilTest {
    static testMethod void testMethod1() {
        BatchEmailUtil be = new BatchEmailUtil();
        String[] toList = new String[]{UserInfo.getUserEmail()};
        String title = 'test title';
        String[] ccList = new String[]{};

        be.successMail(title, 1);
        be.successMail(toList,ccList,title, 1);
        be.successMail(toList,ccList,title, 1, 'add desc');
        be.successMail(toList,ccList,title, 'error message', 1, 1, 'add desc');
        be.failedMail(title, 'error message', 1, 1, 1);
        be.failedMail(toList, ccList, title, 'error message', 1, 1, 1);
        be.failedMail(toList, ccList, title, 'error message', 1, 1, 1, 'add desc');
        be.failedMail(toList, ccList, title, 'error message', 1, 1, 1,1, 'add desc');
    }
}