@@ -32,8 +32,8 @@ discard block |
||
| 32 | 32 | private function buildSystemUnderTest() |
| 33 | 33 | { |
| 34 | 34 | $this->config->expects($this->once()) |
| 35 | - ->method('getMachine') |
|
| 36 | - ->will($this->returnValue($this->machineId)); |
|
| 35 | + ->method('getMachine') |
|
| 36 | + ->will($this->returnValue($this->machineId)); |
|
| 37 | 37 | return new Generator($this->config, $this->timer); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | private function buildSystemUnderTest32Bit() |
| 46 | 46 | { |
| 47 | 47 | $this->config->expects($this->once()) |
| 48 | - ->method('getMachine') |
|
| 49 | - ->will($this->returnValue($this->machineId)); |
|
| 48 | + ->method('getMachine') |
|
| 49 | + ->will($this->returnValue($this->machineId)); |
|
| 50 | 50 | $generator = $this->getMock('Gendoria\CruftFlake\Generator\Generator', array('is32Bit'), array($this->config, $this->timer)); |
| 51 | 51 | $generator->expects($this->any()) |
| 52 | 52 | ->method('is32Bit') |
@@ -62,11 +62,11 @@ discard block |
||
| 62 | 62 | private function buildSystemUnderTestHeartbeat($newMachineId) |
| 63 | 63 | { |
| 64 | 64 | $this->config->expects($this->exactly(2)) |
| 65 | - ->method('getMachine') |
|
| 66 | - ->will($this->onConsecutiveCalls($this->machineId, $newMachineId)); |
|
| 65 | + ->method('getMachine') |
|
| 66 | + ->will($this->onConsecutiveCalls($this->machineId, $newMachineId)); |
|
| 67 | 67 | $this->config->expects($this->once()) |
| 68 | - ->method('heartbeat') |
|
| 69 | - ->will($this->returnValue(true)); |
|
| 68 | + ->method('heartbeat') |
|
| 69 | + ->will($this->returnValue(true)); |
|
| 70 | 70 | return new Generator($this->config, $this->timer); |
| 71 | 71 | } |
| 72 | 72 | |