Created
April 8, 2018 03:54
-
-
Save brianhsu/12ce39c5025202292c006d4135713c33 to your computer and use it in GitHub Desktop.
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
val useCase = new BaseUseCase[Int] { | |
def execute() = 100 | |
} | |
val result = executor.execute(useCase) { r => r } | |
result shouldBe Success(100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment