| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function testSetAndGetMethods(): void |
||
| 35 | { |
||
| 36 | $product = new Product(); |
||
| 37 | $product->setName("Test"); |
||
| 38 | $product->setValue(69); |
||
| 39 | |||
| 40 | $this->assertNull($product->getId()); |
||
| 41 | $this->assertEquals("Test", $product->getName()); |
||
| 42 | $this->assertEquals(69, $product->getValue()); |
||
| 43 | } |
||
| 45 |