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