Lines Matching refs:this

23 		$this->decoratorMock = new DecoratorMock();
24 $this->decoratorImages = new DecoratorImages($this->decoratorMock);
28 $this->decoratorImages->p_open();
29 $this->decoratorImages->internalmedia("S1", "Title1", "centered", 10, 20);
30 $this->decoratorImages->p_close();
32 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
33 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S1", "Title1", …
34 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
36 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
40 $this->decoratorImages->p_open();
41 $this->decoratorImages->internalmedia("S1", "Title1", "centered", 10, 20);
42 $this->decoratorImages->cdata(" x ");
43 $this->decoratorImages->internalmedia("S2", "Title2", "22", 12, 22);
44 $this->decoratorImages->p_close();
46 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
47 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S1", "Title1", …
48 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData(" x "));
49 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S2", "Title2", …
50 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
52 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");
56 $this->decoratorImages->p_open();
57 $this->decoratorImages->internalmedia("S1", "Title1", "11", 11, 21);
58 $this->decoratorImages->cdata(" ");
59 $this->decoratorImages->internalmedia("S2", "Title2", "22", 12, 22);
60 $this->decoratorImages->p_close();
62 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPOpen());
63 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandCData(" "));
64 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S1", "Title1", …
65 …$this->assertEquals($this->decoratorMock->nextCommand(), new CommandInternalMedia("S2", "Title2", …
66 $this->assertEquals($this->decoratorMock->nextCommand(), new CommandPClose());
68 $this->assertTrue($this->decoratorMock->noCommands(), "Should not have more commands");