4 * @covers TransactionRoundDefiningUpdate
6 class TransactionRoundDefiningUpdateTest
extends PHPUnit\Framework\TestCase
{
8 use MediaWikiCoversValidator
;
10 public function testDoUpdate() {
12 $update = new TransactionRoundDefiningUpdate( function () use ( &$ran ) {
15 $this->assertSame( 0, $ran );
17 $this->assertSame( 1, $ran );