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

testIsEmpty() public method

public testIsEmpty ( )
    public function testIsEmpty()
    {
        $bag = new PropertyBag();
        $this->assertTrue($bag->isEmpty());
        $bag = $bag->with(new Property('foo', null));
        $this->assertFalse($bag->isEmpty());
    }