コード例 #1
0
        public void FrameworkKind_CanGetAndSet()
        {
            PatternTestFrameworkExtensionInfo info = new PatternTestFrameworkExtensionInfo("id", "name");

            Assert.IsNull(info.AssemblyKind);

            info.AssemblyKind = "Foo";

            Assert.AreEqual("Foo", info.AssemblyKind);
        }
コード例 #2
0
 public void TheValuesPassedToTheConstructorAreExposedInTheProperties()
 {
     PatternTestFrameworkExtensionInfo info = new PatternTestFrameworkExtensionInfo("id", "name");
     Assert.AreEqual("id", info.Id);
     Assert.AreEqual("name", info.Name);
 }