public override void Arrange()
        {
            _pageObjectNumber = 12;
            _contentsObjectNumber = 25;

            _contents = new ContentsObject(_contentsObjectNumber);

            _sut = new PageObject(_pageObjectNumber, new Size(210, 297));
        }
Ejemplo n.º 2
0
        public override void Arrange()
        {
            _pagesObjectNumber = 9;
            _page1ObjectNumber = 51;
            _page2ObjectNumber = 75;

            _page1 = new PageObject(_page1ObjectNumber, new Size(210, 297));
            _page2 = new PageObject(_page2ObjectNumber, new Size(210, 297));

            _sut = new PagesObject(_pagesObjectNumber);
        }
Ejemplo n.º 3
0
        public override void Arrange()
        {
            _pagesObjectNumber = 9;
            _pageObjectNumber = 51;

            _page = new PageObject(_pageObjectNumber, new Size(210, 297));
            var contents = new ContentsObject(295);
            _page.AddContents(contents);

            _sut = new PagesObject(_pagesObjectNumber);
        }
Ejemplo n.º 4
0
 public override void Act()
 {
     _sut = new PageObject(_objectNumber, new Size(_width, _height));
     _sut.AddContents(_contents);
 }
Ejemplo n.º 5
0
 public void AddPage(PageObject page)
 {
     page.SetParentObjectNumber(Number);
     _kids.Add(page.Number);
 }