Nelmio\Alice\Definition\MethodCallBagTest::testIsEmpty PHP Method

testIsEmpty() public method

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