public function testOptionalParameterInt() { $t = new Mcall(); $this->assertSame($t->optionalParameterInt(1), 1); $this->assertSame($t->optionalParameterInt(), 2); }
public function testOptionalParameterInt() { $t = new Mcall(); $this->assertTrue($t->optionalParameterInt(1) == 1); $this->assertTrue($t->optionalParameterInt() == 2); }