State state2 = this.process.addState( "state.1",
State state1 = this.process.addState( "state.1",
    public void testAddState_Duplicate() throws Exception    {        try        {            State state2 = this.process.addState( "state.1",                                                  "state one" );                        fail( "Should have thrown DuplicateStateException" );        }        catch (DuplicateStateException e)        {            // expected and correct        }    }