@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | |
| 17 | 17 | class FacetSetAdapterTest extends \PHPUnit_Framework_TestCase { |
| 18 | 18 | |
| 19 | - public function testAddFacetValue(){ |
|
| 19 | + public function testAddFacetValue() { |
|
| 20 | 20 | $facets = new FacetSetAdapter(array()); |
| 21 | 21 | $this->assertCount(0, $facets); |
| 22 | 22 | $facets->addFacetValue(Document::FIELD_AUTHOR, 'Oliver Kotte'); |
@@ -26,13 +26,13 @@ discard block |
||
| 26 | 26 | $this->assertCount(1, $facets); |
| 27 | 27 | $this->assertCount(2, $facets->getFacet(Document::FIELD_AUTHOR)); |
| 28 | 28 | |
| 29 | - foreach($facets as $facetKey => $facetValues){ |
|
| 29 | + foreach ($facets as $facetKey => $facetValues) { |
|
| 30 | 30 | $this->assertEquals(Document::FIELD_AUTHOR, $facetKey); |
| 31 | 31 | $this->assertCount(2, $facetValues); |
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - public function testGetFacet(){ |
|
| 35 | + public function testGetFacet() { |
|
| 36 | 36 | $facets = new FacetSetAdapter(array()); |
| 37 | 37 | $this->assertCount(0, $facets); |
| 38 | 38 | $this->assertNull($facets->getFacet('NotExisting')); |