Created
August 23, 2018 19:53
-
-
Save billybong/317f87507957646e22ac470f648a3dac 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
var providesStubRemoteApi = new Factories(){ | |
Optional<RemoteApi> remoteApi(){ | |
RemoteApi remoteApi = MyStubRemoteApi(); | |
return Optional.of(remoteApi); | |
} | |
} | |
var app = bootstrapper.bootstrap(config, providesStubRemoteApi); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment