Completed
Pull Request — master (#5)
by Tim
05:48
created
tests/Subjects/EeBunchSubjectTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -51,23 +51,23 @@  discard block
 block discarded – undo
51 51
 
52 52
         // create a mock subject configuration
53 53
         $mockSubjectConfiguration = $this->getMockBuilder('TechDivision\Import\Configuration\SubjectConfigurationInterface')
54
-                                         ->setMethods(get_class_methods('TechDivision\Import\Configuration\SubjectConfigurationInterface'))
55
-                                         ->getMock();
54
+                                            ->setMethods(get_class_methods('TechDivision\Import\Configuration\SubjectConfigurationInterface'))
55
+                                            ->getMock();
56 56
 
57 57
         // create a mock registry processor
58 58
         $mockRegistryProcessor = $this->getMockBuilder('TechDivision\Import\Services\RegistryProcessorInterface')
59
-                                      ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface'))
60
-                                      ->getMock();
59
+                                        ->setMethods(get_class_methods('TechDivision\Import\Services\RegistryProcessorInterface'))
60
+                                        ->getMock();
61 61
 
62 62
         // create a mock category processor
63 63
         $mockCategoryProcessor = $this->getMockBuilder('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')
64
-                                      ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
65
-                                      ->getMock();
64
+                                        ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
65
+                                        ->getMock();
66 66
 
67 67
         // create a generator
68 68
         $mockGenerator = $this->getMockBuilder('TechDivision\Import\Utils\Generators\GeneratorInterface')
69
-                              ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface'))
70
-                              ->getMock();
69
+                                ->setMethods(get_class_methods('TechDivision\Import\Utils\Generators\GeneratorInterface'))
70
+                                ->getMock();
71 71
 
72 72
         // create the subject to be tested
73 73
         $this->subject = new EeBunchSubject(
@@ -89,12 +89,12 @@  discard block
 block discarded – undo
89 89
 
90 90
         // create a mock category processor
91 91
         $mockProcessor = $this->getMockBuilder('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface')
92
-                              ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
93
-                              ->getMock();
92
+                                ->setMethods(get_class_methods('TechDivision\Import\Category\Ee\Services\EeCategoryBunchProcessorInterface'))
93
+                                ->getMock();
94 94
         $mockProcessor->expects($this->once())
95
-                      ->method('persistCategory')
96
-                      ->with($category = array('path' => '2/3/4'))
97
-                      ->willReturn(null);
95
+                        ->method('persistCategory')
96
+                        ->with($category = array('path' => '2/3/4'))
97
+                        ->willReturn(null);
98 98
 
99 99
         // inject the processor
100 100
         $this->subject->setCategoryProcessor($mockProcessor);
Please login to merge, or discard this patch.