typo fix.
Merge pull request #30 from liuggio/patch-1

typo fix.
CS: added method visibility
Added phpunit dependency to composer.json
Tidy up of tests

- Fixed visibility for setUp() method.
- Make all tests extend DoctrineTestCase.
- Escaped backslash in namespace strings.
Deleted DoctrineTestCase and added phpunit to .travis.yml
Used single quotes in namespace strings
Replaced double backslash with single backslash in namespace strings
Merge pull request #31 from vilartoni/master

CS fixes and tidy up of tests
Tidy up and CS fixes

- Renamed $_elements to $elements
- Added new line before return statements
- Returned early where possible
- Fixed usage of constant
- Removed duplicated code
- Removed unnecessary return statement in offsetSet
Added newline
Removed call to containsKey()
Merge pull request #36 from vilartoni/master

Tidy up and CS fixes
Merge remote-tracking branch 'upstream/master'