Created
February 12, 2016 12:43
-
-
Save miquelbeltran/47942803a1dd82b7c97d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import org.junit.Test; | |
import static org.junit.Assert.*; | |
public class GameSessionTest { | |
@Test | |
public void testGameSession() { | |
GameSession session = new GameSession(); | |
DaggerGameComponent.create().inject(session); | |
assertEquals("Hello Dagger", session.data.hello); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment