Esempio n. 1
0
        public void GetCurrentRackInfo_ReturnsRackInfo()
        {
            var application = new FileImportTestData().CreateTestRackInfoBuilder();

            var rackInfo = application.GetCurrentRackInfo();

            Assert.That(rackInfo, Is.Not.Null);
        }
Esempio n. 2
0
        public void GetCurrentRackInfo_DirectoryInfo_ReturnsInfo()
        {
            var application = new FileImportTestData().CreateTestRackInfoBuilder();

            var rackInfo = application.GetCurrentRackInfo();

            Assert.That(rackInfo.DirectoryInfo, Is.Not.Null);
            Assert.That(rackInfo.DirectoryInfo.SubDirectories, Is.Not.Empty);
            Assert.That(rackInfo.DirectoryInfo.SubDirectories.First(), Contains.Substring("TestSubDir"));
        }