diff --git a/app/tests/unit/src/Model/Venta/PromotionTest.php b/app/tests/unit/src/Model/Venta/PromotionTest.php new file mode 100644 index 0000000..7651ce1 --- /dev/null +++ b/app/tests/unit/src/Model/Venta/PromotionTest.php @@ -0,0 +1,19 @@ +model = new Promotion(); + $this->properties = ['description', 'amount', 'startDate', 'endDate', 'validUntil', 'type', 'state']; + $this->methods = ['projects', 'brokers', 'unitTypes', 'unitLines', 'units', 'value']; + } +} \ No newline at end of file diff --git a/app/tests/unit/src/Model/Venta/Reservation/StateTest.php b/app/tests/unit/src/Model/Venta/Reservation/StateTest.php new file mode 100644 index 0000000..6cba707 --- /dev/null +++ b/app/tests/unit/src/Model/Venta/Reservation/StateTest.php @@ -0,0 +1,17 @@ +model = new State(); + $this->properties = ['reservation', 'date', 'type']; + } +} \ No newline at end of file diff --git a/app/tests/unit/src/Model/Venta/ReservationTest.php b/app/tests/unit/src/Model/Venta/ReservationTest.php new file mode 100644 index 0000000..97e7947 --- /dev/null +++ b/app/tests/unit/src/Model/Venta/ReservationTest.php @@ -0,0 +1,19 @@ +model = new Reservation(); + $this->properties = ['buyer', 'date', 'units', 'promotions', 'broker']; + $this->methods = ['states', 'currentState', 'addUnit', 'removeUnit', 'findUnit', 'hasUnit']; + } +} \ No newline at end of file