public NewAzureResourceCommandTests() { resourcesClientMock = new Mock <ResourcesClient>(); commandRuntimeMock = new Mock <ICommandRuntime>(); cmdlet = new NewAzureResourceCommand() { CommandRuntime = commandRuntimeMock.Object, ResourcesClient = resourcesClientMock.Object }; properties = new Dictionary <string, object> { { "name", "site1" }, { "siteMode", "Standard" }, { "computeMode", "Dedicated" }, { "misc", new Dictionary <string, object> { { "key1", "value1" }, { "key2", "value2" } } } }; tags = new[] { new Hashtable { { "Name", "value1" }, { "Value", "" } } }; }
public NewAzureResourceCommandTests() { resourcesClientMock = new Mock<ResourcesClient>(); commandRuntimeMock = new Mock<ICommandRuntime>(); cmdlet = new NewAzureResourceCommand() { CommandRuntime = commandRuntimeMock.Object, ResourcesClient = resourcesClientMock.Object }; properties = new Dictionary<string, object> { {"name", "site1"}, {"siteMode", "Standard"}, {"computeMode", "Dedicated"}, {"misc", new Dictionary<string, object> { {"key1", "value1"}, {"key2", "value2"} }} }; tags = new[] { new Hashtable { {"Name", "value1"}, {"Value", ""} } }; }