First I tried this $mock = m::mock('Cartalyst\Sentry\Facades\Laravel\Sentry'); $mock->shouldReceive('getUser')->once()->andReturn($userInst); But it
eclipse-classpath
laravel-localization
cassandra-2.1
consensys-truffle
catalina.out
gspread
office365
eclipse-mat
screen-lock
jenkins-git-plugin
git-tag
ruby-module
laravel-5.4
import.io
libgcc
qtableview
spamassassin
crud-repository
liferay-aui
gatsby-source-contentful
presentationml
xclip
bosh
angular6-json-schema-form
tao
aws-credentials
wix-extension
mysql-select-db
repeatable-read
spool