public function test__Set() { $collection = new A_Collection(); $collection->foo = 'bar'; $this->assertEqual($collection->get('foo'), 'bar'); $collection->foo = null; $this->assertFalse($collection->has('foo')); }