public void DelaySignWithoutEitherKeyFileOrKeyContainer()
        {
            ResolveComReference rcr = new ResolveComReference();
            MockEngine e = new MockEngine();
            rcr.BuildEngine = e;

            rcr.DelaySign = true;
            Assert.IsTrue(!rcr.Execute());

            e.AssertLogContains("MSB3301");
        }
        public void BothKeyFileAndKeyContainer()
        {
            ResolveComReference rcr = new ResolveComReference();
            MockEngine e = new MockEngine();
            rcr.BuildEngine = e;

            rcr.KeyFile = "foo";
            rcr.KeyContainer = "bar";

            Assert.IsTrue(!rcr.Execute());

            e.AssertLogContains("MSB3300");
        }