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

            _contents = new ContentsObject(_contentsObjectNumber);

            _sut = new PageObject(_pageObjectNumber, new Size(210, 297));
        }
        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);
        }
        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);
        }
示例#4
0
 public override void Act()
 {
     _sut = new PageObject(_objectNumber, new Size(_width, _height));
     _sut.AddContents(_contents);
 }
示例#5
0
 public void AddPage(PageObject page)
 {
     page.SetParentObjectNumber(Number);
     _kids.Add(page.Number);
 }