builder: BuilderConfigurationTest: added
This commit is contained in:
parent
0503156bd0
commit
1b318253d2
1 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
||||||
|
package net.kemitix.checkstyle.ruleset.builder;
|
||||||
|
|
||||||
|
import com.google.common.reflect.ClassPath;
|
||||||
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tests for {@link BuilderConfiguration}.
|
||||||
|
*
|
||||||
|
* @author Paul Campbell (pcampbell@kemitix.net)
|
||||||
|
*/
|
||||||
|
public class BuilderConfigurationTest {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void canGetClassPath() throws IOException {
|
||||||
|
//when
|
||||||
|
final ClassPath classPath = new BuilderConfiguration().classPath();
|
||||||
|
//then
|
||||||
|
assertThat(classPath).isNotNull();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue