First I tried this $mock = m::mock('Cartalyst\Sentry\Facades\Laravel\Sentry'); $mock->shouldReceive('getUser')->once()->andReturn($userInst); But it
disable
wp-migrate-db
maven-shade-plugin
qnetworkreply
lpwstr
instascan
object-construction
search-engine-indexing
raku
business-process
wcs
rise
fluid
mongify
treegrid
autostart
return-value-optimization
detours
executorservice
markov
hfs
taskdef
entity-sql
jsonb
zap
directinput
pyrcc
wnck
azure-monitoring
maintenance-plan