synapsestudios/synapse-base — pull request #92 by synbot (2014-07-08 23:22:15+00:00)
Title: SecurityContext mock returns new user instance with every call

## SecurityContext mock returns new user instance with every call

If setLoggedInUserEntity is not called, the SecurityContext mock will return a new UserEntity instance with every call to `getToken()->getUser()`. It should return the same instance every time.