|
@@ -1,6 +1,7 @@
|
1
|
1
|
package rocks.zipcode.io.quiz3.objectorientation.enums.rockpaperscissors;
|
2
|
2
|
|
3
|
3
|
import org.junit.Assert;
|
|
4
|
+import org.junit.Before;
|
4
|
5
|
import org.junit.Test;
|
5
|
6
|
import rocks.zipcode.io.quiz3.objectorientation.enums.RockPaperScissorHandSign;
|
6
|
7
|
|
|
@@ -10,10 +11,10 @@ import rocks.zipcode.io.quiz3.objectorientation.enums.RockPaperScissorHandSign;
|
10
|
11
|
public class ScissorTest {
|
11
|
12
|
private RockPaperScissorHandSign sign;
|
12
|
13
|
|
13
|
|
- @Test
|
|
14
|
+ @Before
|
14
|
15
|
public void setup() {
|
15
|
16
|
// given
|
16
|
|
- this.sign = RockPaperScissorHandSign.valueOf("SCISSOR");
|
|
17
|
+ this.sign = RockPaperScissorHandSign.valueOf("SCISSORS");
|
17
|
18
|
}
|
18
|
19
|
|
19
|
20
|
|