@@ 51-58 (lines=8) @@ | ||
48 | { |
|
49 | } |
|
50 | ||
51 | public function testSearch() |
|
52 | { |
|
53 | $result = $this->object->search($this->options); |
|
54 | $this->assertSame($this->result, $result); |
|
55 | $this->assertSame('post', $this->mock->name); |
|
56 | $this->assertSame('testSearch', $this->mock->args[0]); |
|
57 | $this->assertSame($this->options, $this->mock->args[1]); |
|
58 | } |
|
59 | ||
60 | public function testPerform() |
|
61 | { |
|
@@ 60-67 (lines=8) @@ | ||
57 | $this->assertSame($this->options, $this->mock->args[1]); |
|
58 | } |
|
59 | ||
60 | public function testPerform() |
|
61 | { |
|
62 | $result = $this->object->perform($this->action, $this->options); |
|
63 | $this->assertSame($this->result, $result); |
|
64 | $this->assertSame('post', $this->mock->name); |
|
65 | $this->assertSame($this->action, $this->mock->args[0]); |
|
66 | $this->assertSame($this->options, $this->mock->args[1]); |
|
67 | } |
|
68 | } |
|
69 |