ApplicationSettingsTests.CreationTests.When_creating_for_assembly.Then_file_name_should_point_to_assembly C# (CSharp) Method

Then_file_name_should_point_to_assembly() private method

private Then_file_name_should_point_to_assembly ( ) : void
return void
        public void Then_file_name_should_point_to_assembly()
        {
            var appSettings = AppSettings.CreateForAssembly(Assembly.GetAssembly(typeof(AppSettings)), FileOption.None);

            var fileName = System.IO.Path.GetFileName(appSettings.FullPath);

            Assert.AreEqual("ApplicationSettings.dll.config", fileName);
        }