public void RequireCSOMRuntimeVersionDeploymentService_Pass2013_Minimum()
        {
            var service = new MockedRequireCSOMRuntimeVersionDeploymentService(RequireCSOMRuntimeVersionDeploymentService.MinimalVersion);

            // must not throw exeption
            service.DeployModel(null, null);
        }
        public void RequireCSOMRuntimeVersionDeploymentService_Ignore2010()
        {
            var service = new MockedRequireCSOMRuntimeVersionDeploymentService(new Version("14.0.4762.1000"));

            // must not throw exeption
            service.DeployModel(null, null);
        }
        public void RequireCSOMRuntimeVersionDeploymentService_Pass2013_Minimum_Lower()
        {
            var service = new MockedRequireCSOMRuntimeVersionDeploymentService(new Version(
                                                                                   RequireCSOMRuntimeVersionDeploymentService.MinimalVersion.Major,
                                                                                   RequireCSOMRuntimeVersionDeploymentService.MinimalVersion.Minor,
                                                                                   RequireCSOMRuntimeVersionDeploymentService.MinimalVersion.Build - 1,
                                                                                   RequireCSOMRuntimeVersionDeploymentService.MinimalVersion.Revision));

            // must throw exeption
            service.DeployModel(null, null);
        }