It seems that I fuflill the conditions, the output is correct. I don't know why this doesn't validate... If someone could point me the right direction so I can continue this big task that would be awsome!
Thanks in advance
package com.codegym.task.task27.task2712;
import com.codegym.task.task27.task2712.kitchen.Cook;
import com.codegym.task.task27.task2712.kitchen.Order;
import com.codegym.task.task27.task2712.kitchen.Waiter;
public class Restaurant {
public static void main(String[] args) {
Tablet tablet = new Tablet(1);
Cook cook = new Cook("Nicolas");
Waiter waiter = new Waiter();
cook.addObserver(waiter);
tablet.addObserver(cook);
tablet.createOrder();
tablet.createOrder();
tablet.createOrder();
tablet.createOrder();
}
}