package de.kimminich.kata.tcg;

import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.junit.Before;
import org.junit.Test;

import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.*;

public class GameTest {

    private Game game;

    @Test
    public void gameShouldHaveTwoPlayers() {
        assertThat(game.getPlayer1(), is(notNullValue()));
        assertThat(game.getPlayer2(), is(notNullValue()));
    }

}

@@ -280,16 +280,88 @@
  game;%0A%0A
+    @Before%0A    public void setUp() %7B%0A        game = new Game();%0A    %7D%0A%0A
     @Tes

initialized game object for test. fails from missing player1