Skip to content

Commit a6d9eac

Browse files
committed
Set properties for test
1 parent 8e81cf3 commit a6d9eac

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tests/Common/GatewayFactoryTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
class GatewayFactoryTest extends TestCase
99
{
10+
/** @var GatewayFactory */
11+
protected $factory;
12+
1013
public static function setUpBeforeClass() : void
1114
{
1215
m::mock('alias:Omnipay\\SpareChange\\TestGateway');

tests/Common/ItemBagTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
class ItemBagTest extends TestCase
88
{
9+
/** @var ItemBag */
10+
protected $bag;
11+
912
public function setUp() : void
1013
{
1114
$this->bag = new ItemBag;

tests/Common/ItemTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
class ItemTest extends TestCase
88
{
9+
/** @var Item */
10+
protected $item;
11+
912
public function setUp() : void
1013
{
1114
$this->item = new Item;

0 commit comments

Comments
 (0)