Пример #1
0
        public void TestClassInstantiation()
        {
            InternalFactory newInternalFactory = new InternalFactory();

            Assert.IsNotNull(newInternalFactory);
            Assert.IsInstanceOfType(newInternalFactory, typeof(InternalFactory));
        }
Пример #2
0
        public void TestBeginPowerShellMethod()
        {
            InternalFactory newInternalFactory = new InternalFactory();

            Assert.IsNotNull(newInternalFactory);
            Assert.IsInstanceOfType(newInternalFactory, typeof(InternalFactory));
            newInternalFactory.DoAutomationWork(Commands.Testing, true, new[] { "Test" }, string.Empty, string.Empty);
        }