Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ProductTest extends TestCase |
||
12 | { |
||
13 | /** |
||
14 | * Test set and get name. |
||
15 | */ |
||
16 | public function testSetNameAndGetName(): void |
||
17 | { |
||
18 | $product = new Product(); |
||
19 | $product->setName("Test Product"); |
||
20 | |||
21 | $this->assertEquals("Test Product", $product->getName()); |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Test set and get value. |
||
26 | */ |
||
27 | public function testSetValueAndGetValue(): void |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Test initial id is null. |
||
37 | */ |
||
38 | public function testInitialIdIsNull(): void |
||
45 |