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