Example #1
0
 public function testアイテムのストックを解除できること()
 {
     $item = new Item(['id' => 'abcdefghijklmnopq123']);
     $this->apiMock->shouldReceive('deleteItemsItemIdStock')->andReturn(true);
     $result = $item->unStock();
     $this->assertTrue($result, 'アイテムのストックを解除できた');
 }