Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ProductTest extends TestCase |
||
12 | { |
||
13 | /** |
||
14 | * testCreateObject |
||
15 | * |
||
16 | * Construct object and verify that the object has the expected |
||
17 | * properties, use no arguments. |
||
18 | * |
||
19 | * @return void |
||
20 | */ |
||
21 | public function testCreateObject(): void |
||
22 | { |
||
23 | $product = new Product(); |
||
24 | $this->assertInstanceOf(Product::class, $product); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * testSetAndGetMethods |
||
29 | * |
||
30 | * Test the set and get methods |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function testSetAndGetMethods(): void |
||
43 | } |
||
44 | } |
||
45 |