+
+ // Ensure that there are enough weights to satisfy the potential number of
+ // states and transitions.
+ $this->assertSession()
+ ->selectExists('states[three][weight]')
+ ->selectOption('2');
+ $this->assertSession()
+ ->selectExists('states[three][weight]')
+ ->selectOption('-2');
+ $this->assertSession()
+ ->selectExists('transitions[three][weight]')
+ ->selectOption('2');
+ $this->assertSession()
+ ->selectExists('transitions[three][weight]')
+ ->selectOption('-2');