Skip to content

Instantly share code, notes, and snippets.

@ian-ellis
Created January 16, 2017 22:59
Show Gist options
  • Save ian-ellis/a2ec9dc0b9f657f6d07c9ff0287ead6e to your computer and use it in GitHub Desktop.
Save ian-ellis/a2ec9dc0b9f657f6d07c9ff0287ead6e to your computer and use it in GitHub Desktop.
1 * useCase.repository.removeItem(_) >> Observable.just(true)
1 * useCase.repository.removeItem(_ as String) >> Observable.just(true)
1 * useCase.repository.removeItem(simpleSku) >> { args->
assert args[0] == simpleSku
return Observable.just(true)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment