public void TestConstructor_SetsId() { const ChoiceType id = ChoiceType.Gce; var objectUnderTest = new GoogleCloudExtension.PublishDialog.Steps.Choice.Choice(id, null, null, null, null); Assert.AreEqual(id, objectUnderTest.Id); }
public void TestConstructor_SetsCommand() { var command = Mock.Of <ICommand>(); var objectUnderTest = new GoogleCloudExtension.PublishDialog.Steps.Choice.Choice(ChoiceType.None, null, null, null, command); Assert.AreEqual(command, objectUnderTest.Command); }
public void TestConstructor_SetsIcon() { var icon = new BitmapImage(); var objectUnderTest = new GoogleCloudExtension.PublishDialog.Steps.Choice.Choice(ChoiceType.None, null, null, icon, null); Assert.AreEqual(icon, objectUnderTest.Icon); }
public void TestConstructor_SetsToolTip() { const string toolTip = "Test ToolTip"; var objectUnderTest = new GoogleCloudExtension.PublishDialog.Steps.Choice.Choice(ChoiceType.None, null, toolTip, null, null); Assert.AreEqual(toolTip, objectUnderTest.ToolTip); }
public void TestConstructor_SetsName() { const string name = "Test Name"; var objectUnderTest = new GoogleCloudExtension.PublishDialog.Steps.Choice.Choice(ChoiceType.None, name, null, null, null); Assert.AreEqual(name, objectUnderTest.Name); }