Example #1
0
 public function testStackCount()
 {
     $this->assertEquals(new Integer(0), $this->item->getStackCount());
     $stackCount = new Integer(10);
     $this->item = $this->item->withStackCount($stackCount);
     $this->assertEquals($stackCount, $this->item->getStackCount());
 }