public void UpdateAccountTest()
        {
            string accountName   = "account01";
            string resourceGroup = "resourceGroup";

            Hashtable[] tags = new[]
            {
                new Hashtable
                {
                    { "Name", "tagName" },
                    { "Value", "tagValue" }
                }
            };
            AccountResource     accountResource = BatchTestHelpers.CreateAccountResource(accountName, resourceGroup, tags);
            BatchAccountContext expected        = BatchAccountContext.ConvertAccountResourceToNewAccountContext(accountResource);

            batchClientMock.Setup(b => b.UpdateAccount(resourceGroup, accountName, tags)).Returns(expected);

            cmdlet.AccountName       = accountName;
            cmdlet.ResourceGroupName = resourceGroup;
            cmdlet.Tag = tags;

            cmdlet.ExecuteCmdlet();

            commandRuntimeMock.Verify(r => r.WriteObject(expected), Times.Once());
        }