agave-notifications/notifications-core/src/test/java/org/iplantc/service/notification/uuid/NotificationUUIDEntityLookupIT.java
/**
     * Create a test entity persisted and available for lookup.
     *
     * @return
     */
Create a test entity persisted and available for lookup.
@return
Create a test entity persisted and available for lookup . @return
@Override
    public Notification createEntity() {
        Notification testMonitor = null;
        try {
            testMonitor = it.createEmailNotification();
            new NotificationDao().persist(testMonitor);
        } catch (Exception e) {
            Assert.fail("Unable to create sotrage Notification", e);
        }
        return testMonitor;
    }
@ Override public Notification createEntity ( ) { Notification testMonitor = null ; try { testMonitor = it . createEmailNotification ( ) ; new NotificationDao ( ) . persist ( testMonitor ) ; } catch ( Exception e ) { Assert . fail ( "Unable to create sotrage Notification" , e ) ; } return testMonitor ; }
Create a test entity persisted and available for lookup.
Create a test entity persisted and available for lookup .