Пример #1
0
        public void TestGetEnvironmentProperty()
        {
            JobManager manager = new JobManager(_env);

            Dictionary<string, object> expectedDictionary = new Dictionary<string,object>();
            Dictionary<string, object> resultDictionary = null;
            resultDictionary = manager.GetEnvironmentProperty();
            Assert.AreEqual(expectedDictionary, resultDictionary, "GetEnvironmentProperty method returned unexpected result.");

            manager.Proxy = null;
            expectedDictionary = null;
            resultDictionary = manager.GetEnvironmentProperty();
            Assert.AreEqual(expectedDictionary, resultDictionary, "GetEnvironmentProperty method returned unexpected result.");
        }