Skip to content

Commit d8634f5

Browse files
committed
more tests
1 parent c77af75 commit d8634f5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/model/MethodTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ public function testParameters() {
4040
$this->assertSame($method, $method->replaceParameter(0, $param = new PhpParameter('a')));
4141
$params[0] = $param;
4242
$this->assertSame($params, $method->getParameters());
43+
44+
$method->removeParameter($param);
45+
$method->removeParameter('c');
46+
$this->assertEquals([], $method->getParameters());
4347
}
4448

4549
/**

0 commit comments

Comments
 (0)