Esempio n. 1
0
        public void AnnotationsController_Get_VerifyReturnOfAnythingAtAll_ReturnsOk()
        {
            // Arrange
            var controller = new AnnotationsController(DALRepMock.Object);

            // Act
            var response = controller.Get();

            Console.WriteLine(response);
            // Assert
            Assert.NotNull(response);
        }
Esempio n. 2
0
 public DocumentService()
 {
     _test               = new TestController(this);
     _factory            = new FactoryController(this);
     _document           = new DocumentController(this);
     _page               = new PageController(this);
     _structure          = new StructureController(this);
     _statusJobConverter = new StatusJobConverterController(this);
     _annotations        = new AnnotationsController(this);
     _cache              = new CacheController(this);
     _compare            = new CompareController(this);
 }
Esempio n. 3
0
 public void SetUp()
 {
     testController        = MockRepository.GenerateStub <ITestController>();
     optionsController     = MockRepository.GenerateStub <IOptionsController>();
     annotationsController = new AnnotationsController(testController, optionsController);
 }
 public void SetUp()
 {
     testController = MockRepository.GenerateStub<ITestController>();
     optionsController = MockRepository.GenerateStub<IOptionsController>();
     annotationsController = new AnnotationsController(testController, optionsController);
 }