public void TestPaths()
        {
            // Replace the configuration paths.
            var configuration = new TestConfiguration();

            ConfigurationPathAttribute.ReplaceFilePaths("/test1/test2/config.xml", configuration);

            // Assert the strings are correct.
            AssertPath(configuration.TestString, "test");
            AssertPath(configuration.TestPath1, "/test1/test2/test1");
            AssertPath(configuration.TestPath2, "/test1/test2/test1/test2");
            AssertPath(configuration.TestPath3, "/test");

            // Assert the array of strings is correct.
            AssertPath(configuration.TestPaths1[0], "/test1/test2/test1");
            AssertPath(configuration.TestPaths1[1], "/test1/test2/test1/test2");
            AssertPath(configuration.TestPaths1[2], "/test");

            // Assert the list of strings is correct.
            AssertPath(configuration.TestPaths2[0], "/test1/test2/test1");
            AssertPath(configuration.TestPaths2[1], "/test1/test2/test1/test2");
            AssertPath(configuration.TestPaths2[2], "/test");
        }
 public void TestNull()
 {
     ConfigurationPathAttribute.ReplaceFilePaths("", null);
 }