Package org.jboss.seam.cron.test.asynchronous.beans

Examples of org.jboss.seam.cron.test.asynchronous.beans.Status


        assertNull(asynchBean.getStatusEvent());
        assertNull(asynchBean.getHaystackCount());
        String statusToSet = "blue";
        Future<Status> result = asynchBean.returnStatusInFuture(statusToSet);
        assertNotNull(result);
        Status resultStatus = result.get(4, TimeUnit.SECONDS);
        assertNotNull(resultStatus);
        assertNotNull(resultStatus.getDescription());
        assertEquals(statusToSet, resultStatus.getDescription());
        assertNull(asynchBean.getHaystackCount());
    }
View Full Code Here

TOP

Related Classes of org.jboss.seam.cron.test.asynchronous.beans.Status

Copyright © 2018 www.massapicom. 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.