Lines Matching refs:decoratorMock

19 	private $decoratorMock;  variable in DecoratorIncluderTest
29 $this->decoratorMock = new DecoratorMock();
30 $this->decoratorIncluder = new DecoratorIncluder($this->includes, $this->decoratorMock);
45 …$this->assertTrue( $this->decoratorMock->noCommands(), "Should not have any c…
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());
73 DecoratorIncluderTest::TITLE), $this->decoratorMock->nextCommand());
74 $this->assertEquals(new CommandListContentClose(), $this->decoratorMock->nextCommand());
75 $this->assertEquals(new CommandListItemClose(), $this->decoratorMock->nextCommand());
76 $this->assertEquals(new CommandListUClose(), $this->decoratorMock->nextCommand());
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());
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());
179 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
204 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandHeader("Any", 3, 0));
206 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
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());
242 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");