Наследование: extends BaseModel, implements Stevebauman\Inventory\Interfaces\StateableInterface, use trait Stevebauman\Inventory\Traits\InventoryTransactionTrait
 public function testInventoryTransactionGetByState()
 {
     $transaction = $this->newTransaction();
     $transaction->reserved(2);
     $results = InventoryTransaction::getByState(InventoryTransaction::STATE_COMMERCE_RESERVED);
     $this->assertEquals(1, $results->count());
 }