Nelmio\Alice\Definition\PropertyBagTest::testIsEmpty PHP Метод

testIsEmpty() публичный Метод

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