public void AddCollection()
        {
            List <TrackingResult> trackingIds      = null;
            int countOfExpectedCollections         = 0;
            NewAzureRemoteAppCollection mockCmdlet = SetUpTestCommon <NewAzureRemoteAppCollection>();

            // Required parameters for this test
            mockCmdlet.CollectionName    = collectionName;
            mockCmdlet.Location          = region;
            mockCmdlet.Plan              = billingPlan;
            mockCmdlet.ImageName         = templateName;
            mockCmdlet.Description       = description;
            mockCmdlet.CustomRdpProperty = customRDPString;

            // Setup the environment for testing this cmdlet
            countOfExpectedCollections = MockObject.SetUpDefaultRemoteAppCollectionCreate(remoteAppManagementClientMock, mockCmdlet.CollectionName, mockCmdlet.Location, mockCmdlet.Plan, mockCmdlet.ImageName, mockCmdlet.Description, mockCmdlet.CustomRdpProperty, trackingId);
            mockCmdlet.ResetPipelines();

            mockCmdlet.ExecuteCmdlet();
            if (mockCmdlet.runTime().ErrorStream.Count != 0)
            {
                Assert.True(false,
                            String.Format("New-AzureRemoteAppCollection returned the following error {0}",
                                          mockCmdlet.runTime().ErrorStream[0].Exception.Message
                                          )
                            );
            }

            trackingIds = MockObject.ConvertList <TrackingResult>(mockCmdlet.runTime().OutputPipeline);
            Assert.NotNull(trackingIds);

            Assert.True(trackingIds.Count == countOfExpectedCollections,
                        String.Format("The expected number of collections returned {0} does not match the actual {1}",
                                      countOfExpectedCollections,
                                      trackingIds.Count
                                      )
                        );

            Assert.True(MockObject.HasExpectedResults <TrackingResult>(trackingIds, MockObject.ContainsExpectedTrackingId),
                        "The actual result does not match the expected."
                        );
        }