Lines Matching refs:assertEquals

46 …$this->assertEquals(1,                            $this->includes->count(), "Should have one inclu…
49 $this->assertEquals(DecoratorIncluderTest::LINK, $link->getLink(), "Link");
50 …$this->assertEquals(DecoratorIncluderTest::TITLE, $link->getTitle(), "Title is not as expe…
65 $this->assertEquals($this->includes->count(), 0, "Should not have any include");
67 $this->assertEquals(new CommandListUOpen(), $this->decoratorMock->nextCommand());
68 $this->assertEquals(new CommandListItemOpen(1), $this->decoratorMock->nextCommand());
69 $this->assertEquals(new CommandListContentOpen(), $this->decoratorMock->nextCommand());
70 $this->assertEquals(new CommandCData('Follow the link:'), $this->decoratorMock->nextCommand());
71 $this->assertEquals(new CommandInternalLink(
74 $this->assertEquals(new CommandListContentClose(), $this->decoratorMock->nextCommand());
75 $this->assertEquals(new CommandListItemClose(), $this->decoratorMock->nextCommand());
76 $this->assertEquals(new CommandListUClose(), $this->decoratorMock->nextCommand());
96 $this->assertEquals($this->includes->count(), 0, "Should not have any include");
98 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
100 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
101 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
102 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData('List item 1'));
103 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
104 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
106 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
107 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
108 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData('List item 2'));
109 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
110 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
112 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
132 $this->assertEquals($this->includes->count(), 0, "Should not have any include");
134 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
135 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
136 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
138 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
139 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(2));
140 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
141 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData('List item 2'));
142 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
143 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
144 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
146 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
147 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
148 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
170 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUOpen());
171 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
172 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
173 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData('Follow the link:'));
174 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalLink(DecoratorIncluder…
175 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
176 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
177 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListUClose());
181 $this->assertEquals($this->includes->count(), 1, "Should have one include");
183 $this->assertEquals($link->getLink(), DecoratorIncluderTest::LINK2, "Link is not as expected");
184 $this->assertEquals($link->getTitle(), DecoratorIncluderTest::TITLE2, "Title is not as expected");
202 $this->assertEquals($link->getHeadingLevel(), 3, "Heading level is not as expected");
204 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("Any", 3, 0));
226 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListOOpen());
228 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
229 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
230 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalLink(DecoratorIncluder…
231 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
232 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
234 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemOpen(1));
235 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentOpen());
236 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData('Enumerated List item'));
237 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListContentClose());
238 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListItemClose());
240 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandListOClose());
243 $this->assertEquals($this->includes->count(), 0, "Should not have any include");
264 $this->assertEquals(4, $link->getHeadingLevel(), "Heading level");
281 $this->assertEquals(2, $link->getHeadingLevel(), "Heading level");