public void RemoveCollection()
        {
            List <TrackingResult>          trackingIds = null;
            RemoveAzureRemoteAppCollection mockCmdlet  = SetUpTestCommon <RemoveAzureRemoteAppCollection>();

            // Required parameters for this test
            mockCmdlet.CollectionName = collectionName;

            // Setup the environment for testing this cmdlet
            MockObject.SetUpDefaultRemoteAppCollectionByName(remoteAppManagementClientMock, collectionName);
            MockObject.SetUpDefaultRemoteAppCollectionDelete(remoteAppManagementClientMock, mockCmdlet.CollectionName, trackingId);
            mockCmdlet.ResetPipelines();

            Log("Calling Remove-AzureRemoteAppCollection");

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

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

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

            Log("The test for Remove-AzureRemoteAppCollection completed successfully");
        }