/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import worldoffri.Prikaz;
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 novacik1
 */
public class prikazTest {
    private Prikaz nieco;
    public prikazTest() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @Test
    public void jePrikaz() {
        Prikaz nieco = new Prikaz("ukonci","");
        assertEquals("ukonci", nieco.dajNazov());
    }
    
    @Test
    public void maParameter() {
        Prikaz nieco2 = new Prikaz("ukonci", "x");
        assertTrue("x" == nieco2.dajParameter());
    }
    
    @After
    public void tearDown() {
    }
    // TODO add test methods here.
    // The methods must be annotated with annotation @Test. For example:
    //
    // @Test
    // public void hello() {}
}
