UnionOfRAD/lithium — pull request #163 by mackstar (2011-10-19 16:34:30+00:00)
Title: I have sent a pull request for test cases

I tried all I could to satisfy the tests, but 1 soltion broke another test etc. It would be easier if we can drop $entity->array = 'something'; becoming $entity->array = array('something');
But I think in the end your simple solution gets tricky with complicated cases