예제 #1
0
 public function testIsEmpty()
 {
     $box = new LuckyBox();
     $this->assertTrue($box->isEmpty());
     $box->add(new IdCard());
     $this->assertFalse($box->isEmpty());
 }