base:
  available:
    - A 1.0.0
    - A 2.0.0
    - B 1.0.0; depends A == 1.0.0
    - B 2.0.0; depends A == 2.0.0

cases:
-
  request:
    - install: B
  transaction:
    - install:
      - A 2.0.0
      - B 2.0.0
-
  request:
    - install: B == 2.0.0
  transaction:
    - install:
      - A 2.0.0
      - B 2.0.0
-
  request:
    - install: B == 1.0.0
  transaction:
    - install:
      - A 1.0.0
      - B 1.0.0
