Example #1
0
        public void PowerConfigurationProcessクラスのSetActiveメソッドが実行されること()
        {
            var mock = new Mock<PowerConfigurationProcess.Interface>();

            var input = new PowerPlan();

            var target = new PowerConfiguration();
            target.PowerConfigurationProcess = mock.Object;
            target.SetActive(input);

            mock.Verify(x => x.SetActive(input), Times.Once);
            mock.VerifyAll();
        }