Skip to content

Instantly share code, notes, and snippets.

@miquelbeltran
Created February 12, 2016 12:43
Show Gist options
  • Save miquelbeltran/47942803a1dd82b7c97d to your computer and use it in GitHub Desktop.
Save miquelbeltran/47942803a1dd82b7c97d to your computer and use it in GitHub Desktop.
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