예제 #1
0
        public void TestAddGetInstaller()
        {
            installer.Setup((o) => o.IsSupports("foo")).Returns(true);
            manager.AddInstaller(installer.Object);

            Assert.AreSame(installer.Object, manager.GetInstaller("foo"));
        }