Commit a3e3b5b3 authored by Karel Frajtak's avatar Karel Frajtak

New test

parent 011d60a0
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import cz.cvut.eshop.shop.Order;
import cz.cvut.eshop.shop.ShoppingCart;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
* @author Karel
*/
public class OrderTest {
@Test
public void createOrderWithCustomerNotSetTest() {
// setup
ShoppingCart cart = new ShoppingCart();
Order order = new Order(cart);
// act
order.create();
// assert
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment