PHPOffice/PHPWord — pull request #326 by pscheit (2014-08-04 08:32:50+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