@@ 38-52 (lines=15) @@ | ||
35 | $this->pulses = $this->board->getPulses(); |
|
36 | } |
|
37 | ||
38 | public function testGetNameColumnValues() |
|
39 | { |
|
40 | $expectedValues = array( |
|
41 | "Mock Pulse One", |
|
42 | "Mock Pulse Two", |
|
43 | "Mockery Onion", |
|
44 | "Jar of Jam" |
|
45 | ); |
|
46 | $count = count($expectedValues); |
|
47 | ||
48 | for ($i = 0; $i < $count; $i++) |
|
49 | { |
|
50 | $this->assertEquals($expectedValues[$i], $this->pulses[$i]->getName()); |
|
51 | } |
|
52 | } |
|
53 | ||
54 | public function testGetTextColumnValues() |
|
55 | { |
|
@@ 54-68 (lines=15) @@ | ||
51 | } |
|
52 | } |
|
53 | ||
54 | public function testGetTextColumnValues() |
|
55 | { |
|
56 | $expectedValues = array( |
|
57 | "Silver Pet Rock", |
|
58 | "Oblivious Platypus", |
|
59 | "Aspiring Platinum Duck", |
|
60 | null |
|
61 | ); |
|
62 | $count = count($expectedValues); |
|
63 | ||
64 | for ($i = 0; $i < $count; $i++) |
|
65 | { |
|
66 | $this->assertEquals($expectedValues[$i], $this->pulses[$i]->getTextColumn('text')->getValue()); |
|
67 | } |
|
68 | } |
|
69 | ||
70 | public function testGetPersonColumnValues() |
|
71 | { |