assertNotNull($ec); $this->assertInstanceOf(\Elliptic\EC::class, $ec); } public function test_should_throw_error_with_invalid_curve() { $this->expectException(\Exception::class); $ec = new \Elliptic\EC('nonexistent-curve'); } }