Package org.junithelper.core.generator

Source Code of org.junithelper.core.generator.ConstructorGeneratorFactoryTest

package org.junithelper.core.generator;

import static org.hamcrest.CoreMatchers.*;
import static org.junit.Assert.*;

import org.junit.Test;
import org.junithelper.core.config.Configuration;
import org.junithelper.core.meta.CurrentLineBreak;

public class ConstructorGeneratorFactoryTest {

    @Test
    public void type() throws Exception {
        assertThat(ConstructorGeneratorFactory.class, notNullValue());
    }

    @Test
    public void create_A$Configuration$LineBreakProvider() throws Exception {
        Configuration config = new Configuration();
        LineBreakProvider lineBreakProvider = new LineBreakProvider(config, CurrentLineBreak.CRLF);
        ConstructorGenerator actual = ConstructorGeneratorFactory.create(config, lineBreakProvider);
        assertThat(actual, is(notNullValue()));
    }

}
TOP

Related Classes of org.junithelper.core.generator.ConstructorGeneratorFactoryTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.