Skip to content

Commit 6a71b16

Browse files
committed
update Singleton
1 parent 83e77dd commit 6a71b16

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/SingletonTest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Bavix\Wallet\Test;
44

5+
use Bavix\Wallet\Interfaces\Mathable;
56
use Bavix\Wallet\Interfaces\Rateable;
7+
use Bavix\Wallet\Interfaces\Storable;
68
use Bavix\Wallet\Objects\Bring;
79
use Bavix\Wallet\Objects\Cart;
810
use Bavix\Wallet\Objects\EmptyLock;
@@ -68,6 +70,22 @@ public function testRateable(): void
6870
$this->assertEquals($this->getRefId(Rateable::class), $this->getRefId(Rateable::class));
6971
}
7072

73+
/**
74+
* @return void
75+
*/
76+
public function testStorable(): void
77+
{
78+
$this->assertEquals($this->getRefId(Storable::class), $this->getRefId(Storable::class));
79+
}
80+
81+
/**
82+
* @return void
83+
*/
84+
public function testMathable(): void
85+
{
86+
$this->assertEquals($this->getRefId(Mathable::class), $this->getRefId(Mathable::class));
87+
}
88+
7189
/**
7290
* @return void
7391
*/

0 commit comments

Comments
 (0)