Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.4.0 #160

Merged
merged 7 commits into from
Apr 1, 2017
Merged

Release 1.4.0 #160

merged 7 commits into from
Apr 1, 2017

Conversation

nhaarman
Copy link
Collaborator

@nhaarman nhaarman commented Apr 1, 2017

pawel bochenski and others added 7 commits March 30, 2017 15:15
with this method one can define mock for class

val someMock = mock<Object>()

and then define stubs in test

someMock.stub {
	on { something } doReturn somethingElse
}

It is useful when some tests reuse mock object but with different stubbing
Added stub extension function
@nhaarman nhaarman merged commit e0c1475 into master Apr 1, 2017
@nhaarman nhaarman deleted the release-1.4.0 branch April 1, 2017 17:44
@nhaarman nhaarman removed the in-review label Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant