function testMethodReplacementWithNoBehaviourReturnsNull() { $mock = new TestDummy(); $this->assertEqual($mock->aMethod(99), 99); $this->assertNull($mock->anotherMethod()); }
function testMethodReplacement() { $mock = new TestDummy(); $this->assertEqual($mock->aMethod(99), 99); $this->assertNull($mock->anotherMethod()); }