API updates.

This commit is contained in:
James Cole
2019-06-09 08:26:23 +02:00
parent 85f9c256a1
commit 3c2dfc52bc
35 changed files with 722 additions and 573 deletions

View File

@@ -228,7 +228,7 @@ abstract class TestCase extends BaseTestCase
TransactionCollectorInterface::class,
];
if (in_array($class, $deprecated, true)) {
throw new RuntimeException('Should not be mocking the transaction collector.');
throw new RuntimeException(strtoupper('Must not be mocking the transaction collector or transformer.'));
}
Log::debug(sprintf('Will now mock %s', $class));
$object = Mockery::mock($class);