def METHOD_NAME(create):
    """Test transition to state vertex connection."""
    v1 = create(StateItem, UML.State)
    t = create(TransitionItem)
    connect(t, t.head, v1)
    assert allow(t, t.tail, v1)