예제 #1
0
        public void ToString_ShouldReturnContractNameProperty()
        {
            var expectations = Expectations.GetContractNames();

            foreach (var e in expectations)
            {
                var definition = new ExportDefinition(e, new Dictionary<string, object>());

                Assert.AreEqual(e, definition.ToString());
            }
        }
 private void DumpExport(ComposablePartDefinition part, ExportDefinition e)
 {
     Dump("  Export: " + e.ToString());
 }