Replace very trivial mock builders with createMock()
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 5 Jun 2019 12:54:03 +0000 (14:54 +0200)
committerThiemo Kreuz (WMDE) <thiemo.kreuz@wikimedia.de>
Mon, 24 Jun 2019 08:36:16 +0000 (08:36 +0000)
commit005dd91276b15578c3c07f9cea93e4aedaa17b86
tree906a14dc2a4af930a29755f15fd542c8cc217f65
parentf4de088e6322d969b88edeb1c417549849c3803d
Replace very trivial mock builders with createMock()

It does the exact same before and after. createMock() always disables
the default constructor.

Change-Id: I7b294cc3ee7f245f0aec55d12f1277fca5d39bce
tests/phpunit/includes/Revision/FallbackSlotRoleHandlerTest.php
tests/phpunit/includes/Revision/RevisionStoreFactoryTest.php
tests/phpunit/includes/Revision/SlotRoleHandlerTest.php
tests/phpunit/includes/Revision/SlotRoleRegistryTest.php
tests/phpunit/includes/libs/rdbms/connectionmanager/ConnectionManagerTest.php
tests/phpunit/includes/libs/rdbms/connectionmanager/SessionConsistentConnectionManagerTest.php