@Test public void testNewRiddle() { GameMatrixFactory instance = new GameMatrixFactory(); RiddleImpl expResult = new RiddleImpl(); GameMatrix result = instance.newRiddle(); assertEquals(expResult, result); }
public Riddle newRiddle() { return new RiddleImpl(); }
GameMatrixFactory { public Riddle newRiddle() { return new RiddleImpl(); } }
GameMatrixFactory { public Riddle newRiddle() { return new RiddleImpl(); } GameMatrixFactory(); }
GameMatrixFactory { public Riddle newRiddle() { return new RiddleImpl(); } GameMatrixFactory(); GameMatrix newGameMatrix(); Riddle newRiddle(); }
GameMatrixFactory { public Riddle newRiddle() { return new RiddleImpl(); } GameMatrixFactory(); GameMatrix newGameMatrix(); Riddle newRiddle();  }