From 1b318253d2a6e863e271d05da36961235922f84e Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 30 May 2017 12:43:34 +0100 Subject: [PATCH] builder: BuilderConfigurationTest: added --- .../builder/BuilderConfigurationTest.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/BuilderConfigurationTest.java diff --git a/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/BuilderConfigurationTest.java b/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/BuilderConfigurationTest.java new file mode 100644 index 0000000..294cb87 --- /dev/null +++ b/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/BuilderConfigurationTest.java @@ -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(); + } +}