diff --git a/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java b/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java new file mode 100644 index 0000000000..6ba9b722aa --- /dev/null +++ b/test/unit/org/apache/cassandra/config/DatabaseDescriptorTest.java @@ -0,0 +1,13 @@ +package org.apache.cassandra.config; +import static org.testng.Assert.assertNotNull; +import org.testng.annotations.BeforeMethod; +import org.testng.annotations.Test; + +public class DatabaseDescriptorTest +{ + @Test + public void testShouldHaveConfigFileNameAvailable() + { + assertNotNull(DatabaseDescriptor.getConfigFileName(), "DatabaseDescriptor should always be able to return the file name of the config file"); + } +}