public function testIsEmpty() { $bag = new MethodCallBag(); $this->assertTrue($bag->isEmpty()); $bag = $bag->with(new FakeMethodCall()); $this->assertFalse($bag->isEmpty()); }