<commit_before><?php

namespace SelfServiceTest\Provisioner;

use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;

class RsApiProvisionerTest extends AbstractHttpControllerTestCase {

  public function setUp() {
    $this->setApplicationConfig(
      include __DIR__ . '/../../../../../../config/application.config.php'
    );
    parent::setUp();

    $cli = $this->getApplicationServiceLocator()->get('doctrine.cli');
    $cli->setAutoExit(false);

    $cli->run(
      new \Symfony\Component\Console\Input\ArrayInput(array('odm:schema:drop')),
      new \Symfony\Component\Console\Output\NullOutput()
    );

    $cli->run(
      new \Symfony\Component\Console\Input\ArrayInput(array('odm:schema:create')),
      new \Symfony\Component\Console\Output\NullOutput()
    );
  }

  public function testProvisionPersistsProvisionedProductDocumentWhenSuccessful() {}

  public function testProvisionPersistsProvisionedProductDocumentWhenException() {}

}<commit_msg>Be honest with ourselves about the usefulness of tests<commit_after><?php

namespace SelfServiceTest\Provisioner;

use Zend\Test\PHPUnit\Controller\AbstractHttpControllerTestCase;

class RsApiProvisionerTest extends AbstractHttpControllerTestCase {

  public function setUp() {
    $this->setApplicationConfig(
      include __DIR__ . '/../../../../../config/application.config.php'
    );
    parent::setUp();

    $cli = $this->getApplicationServiceLocator()->get('doctrine.cli');
    $cli->setAutoExit(false);

    $cli->run(
      new \Symfony\Component\Console\Input\ArrayInput(array('odm:schema:drop')),
      new \Symfony\Component\Console\Output\NullOutput()
    );

    $cli->run(
      new \Symfony\Component\Console\Input\ArrayInput(array('odm:schema:create')),
      new \Symfony\Component\Console\Output\NullOutput()
    );
  }

  public function testPlaceholder() {
    $this->markTestSkipped("Not sure what to test for the RsApiProvisioner, it mostly consumes other services and classes");
  }

}
{'fraction_non_alphanumeric': 0.1389028686462003, 'fraction_numerical': 0.0, 'mean_word_length': 4.071428571428571, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1374906', 'n_tokens_mistral': 584, 'n_tokens_neox': 571, 'n_words': 92}