public void ContentTest() { string sentence = "This is MyToolbox test sentence"; ToolboxItemData target = new ToolboxItemData(sentence); Assert.AreEqual(sentence, target.Content, "ToolBox content was not properly initialized."); }
public void ConstructorTest() { string sentence = "This is MyToolbox test sentence"; ToolboxItemData target = new ToolboxItemData(sentence); Microsoft_Samples_VisualStudio_IDE_EditorWithToolbox_ToolboxItemDataAccessor accessor = new Microsoft_Samples_VisualStudio_IDE_EditorWithToolbox_ToolboxItemDataAccessor(target); Assert.AreEqual(sentence, accessor.content, "ToolBox content was not properly initialized."); }