예제 #1
0
 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'));
 }