-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚚 : move inline function whenever in specific utils file
- Loading branch information
1 parent
070d66e
commit ebc1677
Showing
4 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/test/java/io/codeka/gaia/modules/api/DockerRegistryApiTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package io.codeka.gaia.test | ||
|
||
import org.mockito.Mockito | ||
import org.mockito.stubbing.OngoingStubbing | ||
|
||
inline fun <T> whenever(methodCall: T): OngoingStubbing<T> { | ||
return Mockito.`when`(methodCall)!! | ||
} |