- type: "append"
  override: ~
  destiantion_exists: false
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php
    $foo = 'bar';

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

- type: "prepend"
  override: ~
  destiantion_exists: false
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

    $foo = 'bar';

- type: "write"
  override: ~
  destiantion_exists: false
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

- type: "write"
  override: false
  destiantion_exists: true
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php
    $foo = 'bar';

- type: "write"
  override: false
  destiantion_exists: false
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

- type: "write"
  override: true
  destiantion_exists: true
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

- type: "write"
  override: true
  destiantion_exists: false
  source: |
    <?php
    $foo = 'bar';
  expected: |
    <?php

    // Start settings processor block.

    $options["uri"] = 'http://127.0.0.1:8888';

    // End settings processor block.

