@Test(
     groups = "wso2.es.notification",
     description = "Testing mails for asset update event",
     dependsOnMethods = "testLCNotification")
 public void testUpdateNotification() throws Exception {
   // Update gadget and check lC state change notification
   driver.get(baseUrl + PUBLISHER_GADGET_LIST_PAGE);
   AssetUtil.updateAsset(driver, baseUrl, ASSET_TYPE, assetName, ASSET_DESCRIPTION);
   driver.get(baseUrl + PUBLISHER_GADGET_LIST_PAGE);
   // read email using smtp
   boolean hasMail =
       ESUtil.containsEmail(smtpPropertyLocation, EMAIL_PWD, EMAIL, updateNotificationSubject);
   assertTrue(hasMail, "Asset Update Notification failed for user:" + currentUserName);
 }