@Test
public void testGetTemplateWithBlankTemplateName(){

    List<String> idList = new ArrayList<>();
    idList.add(DEFAULT_EMAIL_TEMPLATE_NAME);
    Response response = new Response();
    List<Map<String, Object>> orgList =new ArrayList<>();
    Map<String,Object>map=new HashMap<>();
    orgList.add(map);
    response.put(JsonKey.RESPONSE,orgList);
    when(cassandraOperation.getRecordsByPrimaryKeys(JsonKey.SUNBIRD, EMAIL_TEMPLATE, idList, JsonKey.NAME)).thenReturn(response);
    String resp=emailTemplateDao.getTemplate(StringUtils.EMPTY);
    Assert.assertEquals(null,resp);
}