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); }
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); }
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); }