public void TestInvalidDependencyType()
        {
            var    build  = new InvalidDependencyTypeTestBuild();
            Action action = () => ExecutableTargetFactory.CreateAll(build, x => x.E);

            action.Should().Throw <InvalidCastException>();
        }
예제 #2
0
        public void TestInvalidDependencyType()
        {
            var build = new InvalidDependencyTypeTestBuild();

            Assert.Throws <InvalidCastException>(() => ExecutableTargetFactory.CreateAll(build, x => x.E));
        }