assertInstanceOf(BezierFactory::class, Drawable::bezier()); } public function testCircle(): void { $this->assertInstanceOf(CircleFactory::class, Drawable::circle()); } public function testEllipse(): void { $this->assertInstanceOf(EllipseFactory::class, Drawable::ellipse()); } public function testLine(): void { $this->assertInstanceOf(LineFactory::class, Drawable::line()); } public function testPolygon(): void { $this->assertInstanceOf(PolygonFactory::class, Drawable::polygon()); } public function testRectangle(): void { $this->assertInstanceOf(RectangleFactory::class, Drawable::rectangle()); } }