Skip to content

replace hamkrest with Kluent #2

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

Closed
juan-medina opened this issue Jun 3, 2017 · 1 comment
Closed

replace hamkrest with Kluent #2

juan-medina opened this issue Jun 3, 2017 · 1 comment

Comments

@juan-medina
Copy link
Member

https://github.com/MarkusAmshove/Kluent

@juan-medina
Copy link
Member Author

juan-medina commented Jun 3, 2017

Helper needed

    infix fun <T, K> T.willReturn(value: K) = doReturn(value).whenever(this)!!
    infix fun <T, K> T.`will return`(value: K) = this willReturn value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant