<?xml version="1.0" ?>
<diagram
    xmlns="msdl.uantwerpen.be/sccd"
    author="Glenn De Jonghe"
    name="TestAfter">
    <description>
        Used for testing the AFTER event.
    </description>
    <inport name="in" />
    <outport name="out" />
    <class name="Class1" default="true">
        <scxml initial="s1">
            <state id="s1">
                <transition after="100" target="../s2"/>
                <transition after="200" target="../s3"/>
            </state>
            <state id="s2">
                <onentry>
                   <raise event="in_state_2" port="out" />
                </onentry>
                <transition after="150" target="../s3"/>
            </state>
            <state id="s3">
                <onentry>
                   <raise event="in_state_3" port="out"/>
                </onentry>
            </state>
        </scxml>
    </class>
    <test>
        <expected>
            <slot>
                <event name="in_state_2" port="out"/>
            </slot>
            <slot>
                <event name="in_state_3" port="out"/>
            </slot>
        </expected>
    </test>
</diagram>
