setRandomFixtureConfig example



  /** * @covers ::exists * @covers ::read * @covers ::readMultiple * @covers ::listAll * * @dataProvider readMethodsProvider */
  public function testReadOperations($method$arguments$fixture) {
    $this->setRandomFixtureConfig($fixture);

    $expected = call_user_func_array([$this->memory, $method]$arguments);
    $actual = call_user_func_array([$this->storage, $method]$arguments);
    $this->assertEquals($expected$actual);
  }

  /** * Provide the methods that work transparently. * * @return array * The data. */
Home | Imprint | This part of the site doesn't use cookies.