Package org.apache.agila.impl.memory

Examples of org.apache.agila.impl.memory.NotificationServiceImpl.notify()


    public void testSimple() throws Exception {

        NotificationServiceImpl nsi = new NotificationServiceImpl();

        NotificationID id = nsi.notify(new UserID(1), "test message");

        assertTrue(id != null);
        assertTrue(id.getID() == 1);

        Notification impl =  nsi.getNotification(id);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.