use of com.teachMeSkills.an15.LashkevichGeorgy.hw6.task3.service.Impl.AutenticationImpl in project AN15 by IharDubkou.
the class Main method main.
public static void main(String[] args) {
Basket basket = new Basket();
Product product = new Product();
Product product1 = new Product();
Product product2 = new Product();
product.setPrice(100);
product.setRating(1);
product.setName("Limon");
product1.setPrice(200);
product1.setRating(13);
product1.setName("Orange");
product2.setPrice(300);
product2.setRating(7);
product2.setName("Banana");
Product[] products = new Product[] { product, product1, product2 };
System.out.println(Arrays.toString(products));
User user = new User();
user.setLogin("Ybivator");
user.setPassword("ybiica007");
user.setBasket(basket);
AuthenticationService authenticationService = new AutenticationImpl();
authenticationService.authentication(user);
Category category = new Category();
category.setName("Овощи");
}
Aggregations