Пример #1
0
        public void TestLoadCustomPlatform()
        {
            var agrix = new Agrix("platform: test",
                                  new AgrixSettings("abc", "http://example.org/", TestAssembly));

            Assert.Equal(typeof(TestPlatform), agrix.LoadPlatform().GetType());
        }
Пример #2
0
        public void TestLoadPlatform()
        {
            var agrix = new Agrix(
                "platform: vultr", BasicSettings);

            Assert.Equal(
                typeof(VultrPlatform), agrix.LoadPlatform().GetType());
        }