Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function testCreate() |
||
30 | { |
||
31 | $result = ChaincodeIdFactory::create('FooBar', 'FizBuz', 'v12.34'); |
||
32 | |||
33 | self::assertInstanceOf(ChaincodeID::class, $result); |
||
34 | self::assertSame('FooBar', $result->getPath()); |
||
35 | self::assertSame('FizBuz', $result->getName()); |
||
36 | self::assertSame('v12.34', $result->getVersion()); |
||
37 | } |
||
39 |