Package com.proofpoint.event.client.ChainedCircularEventClass

Examples of com.proofpoint.event.client.ChainedCircularEventClass.ChainedPart


    @Test(expectedExceptions = InvalidEventException.class, expectedExceptionsMessageRegExp = "Cycle detected in event data:.*")
    public void testChainedCircularEvent()
            throws Exception
    {
        ChainedPart a = new ChainedPart("a");
        ChainedPart b = new ChainedPart("b");
        ChainedPart c = new ChainedPart("c");
        a.setPart(b);
        b.setPart(c);
        c.setPart(a);

        ChainedCircularEventClass event = new ChainedCircularEventClass(a);

        eventWriter.writeEvents(createEventGenerator(ImmutableList.of(event)), null, nullOutputStream());
    }
View Full Code Here

TOP

Related Classes of com.proofpoint.event.client.ChainedCircularEventClass.ChainedPart

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.