package eu.plocha.db.generator.basic;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * cl3ar, 31/05/2017.
 */
@RunWith(SpringJUnit4ClassRunner.class)
public class BasicGeneratorTest {

    private SchemaGenerator schemaGenerator;
    private BasicNameGenerator basicNameGenerator;

    @Before
    public void setUp() throws Exception {
        basicNameGenerator = new BasicNameGenerator();
        schemaGenerator = new BasicGenerator(basicNameGenerator);
    }

    @After
    public void tearDown() throws Exception {
    }

    @Test
    public void generateShould____WhenZeroGiven() throws Exception {

        System.out.println(schemaGenerator.generate(0));
    }

}