1--TEST-- 2#2366: Using a test double from a data provider only works once 3--FILE-- 4<?php 5$_SERVER['argv'][1] = '--no-configuration'; 6$_SERVER['argv'][2] = 'Issue2366Test'; 7$_SERVER['argv'][3] = __DIR__ . '/2366/Issue2366Test.php'; 8 9require __DIR__ . '/../../bootstrap.php'; 10PHPUnit_TextUI_Command::main(); 11?> 12--EXPECTF-- 13PHPUnit %s by Sebastian Bergmann and contributors. 14 15.. 2 / 2 (100%) 16 17Time: %s, Memory: %s 18 19OK (2 tests, 2 assertions) 20