Bari.Core.Test.Model.ProjectTest.GetSourceSetReturnsTheSameInstanceIfCalledTwice C# (CSharp) Method

GetSourceSetReturnsTheSameInstanceIfCalledTwice() private method

private GetSourceSetReturnsTheSameInstanceIfCalledTwice ( ) : void
return void
        public void GetSourceSetReturnsTheSameInstanceIfCalledTwice()
        {
            var project = new Project("test", new Module("testmod", new Suite(new TestFileSystemDirectory("module"))));
            var set1 = project.GetSourceSet("cs");
            var set2 = project.GetSourceSet("cs");

            set1.Should().BeSameAs(set2);
        }