<?php

namespace CouponsPlus\App\Coupon\Tree\Factories;

use CouponsPlus\App\Coupon\Tree\Abilities;
use CouponsPlus\App\Coupon\Tree\Branch;
use CouponsPlus\App\Coupon\Tree\NodeData;
use CouponsPlus\App\Coupon\Tree\TestableGroupData;

class EmptyOffersNodeDataFactory
{
    public function create() : Abilities\NodeData
    {
        return new NodeData(
            new TestableGroupData(
                $type = 'AND',
                $mode = 'test',
                $children = []
            ),
            new Branch(
                $type = 'offers', 
                $children = []
            )
        );
    }
}