szurubooru/tests/TransactionManagerMock.php
Marcin Kurczewski 632bac8661 Added "use ..." statements
This version ditches backwards compatibility with PHP earlier than 5.6.
2014-10-18 18:48:36 +02:00

16 lines
269 B
PHP

<?php
namespace Szurubooru\Tests;
use Szurubooru\Dao\TransactionManager;
final class TransactionManagerMock extends TransactionManager
{
public function rollback($callback)
{
return $callback();
}
public function commit($callback)
{
return $callback();
}
}