public void AttemptCMoveForMultipleStudiesAndMultipleSeries()
        {
            SetUpCFind();
            SetUpCFind();
            //SetUpCMove(1);
            mockRepository.ReplayAll();
            var scu = new ServiceClassUser(unityContainer, "NEWTON", "DCM4CHEE", HOSTNAME, PORT);
            var studyInstanceUIDs = new List<string> {
                                                         "1.3.12.2.1107.5.1.4.1031.30000009082111200307800000018",
                                                         "1.3.46.670589.11.5019.5.0.5844.2009082111084362050",
                                                         "1.2.124.113532.10.33.162.50.20090812.81504.24624529"
                                                     };
            var seriesInstanceUIDs = new List<string> {
                                                          "1.3.12.2.1107.5.1.4.1031.30000009082111213876500007458",
                                                          "1.3.46.670589.11.5019.5.0.4632.2009082111211140720",
                                                          "1.3.12.2.1107.5.1.4.1031.30000009082111223996800005593"
                                                      };

            IList<DataSet> cFindSeries = scu.CMove(studyInstanceUIDs, seriesInstanceUIDs, "FULLSTORAGE_SCP");

            Assert.IsNotNull(cFindSeries);
        }
        public void CMoveForStudies()
        {
            SetUpCFind();
            mockRepository.ReplayAll();
            var scu = new ServiceClassUser(unityContainer, "NEWTON", "DCM4CHEE", HOSTNAME, PORT);
            var studyInstanceUIDs = new List<string> { "1.2.840.114165.8192.3.1.10.8047921150017449681.1" };

            IList<DataSet> cFindSeries = scu.CMove(studyInstanceUIDs, new List<string>(), "FULLSTORAGE_SCP");

            Assert.IsNotNull(cFindSeries);
        }
        public void WhenCMoveIsCalledWithNoStudiesOrSeriesInstanceUIDsPassedToItNoCallToTheSCP_IsMade()
        {
            mockRepository.ReplayAll();
            var scu = new ServiceClassUser(unityContainer, "NEWTON", "DCM4CHEE", HOSTNAME, PORT);

            IList<DataSet> cFindSeries = scu.CMove(new List<string>(), new List<string>(), "FULLSTORAGE_SCP");

            Assert.IsNotNull(cFindSeries);
        }
        public void CMoveForSeries()
        {
            SetUpCFind();
            //SetUpCMove(1);
            mockRepository.ReplayAll();
            var scu = new ServiceClassUser(unityContainer, "NEWTON", "DCM4CHEE", HOSTNAME, PORT);
            var seriesInstanceUIDs = new List<string> { "1.2.840.114165.8192.3.1.10.4005887757780752754.2" };

            IList<DataSet> cFindSeries = scu.CMove(new List<string>(), seriesInstanceUIDs, "FULLSTORAGE_SCP");

            Assert.IsNotNull(cFindSeries);
        }