PHPOffice/PHPWord — pull request #315 by pscheit (2014-07-15 08:45:30+00:00)
Title: Bugfix: not all borders are written when specific borders specified

testcode:

```php
$cell = $row->addCell(400, array(
'borderRightColor'=>'efefef',
'borderRightSize'=>40,
'borderBottomColor'=>'efefef',
'borderBottomSize'=>40,
));
```
displays only rightBorder but not the bottomBorder.

Sorry for no unit test. Would you prefer the XMLWriter to be injected and then the xml output tested or mocking the XMLWriter and testing the behaviour with expectations? (difficult with PHPUnit only, I would suggest using mockery)
Unfortuately I cannot write the unit test right now, but still hope this bug will be fixed