### Question:
FaceValue { public void updateLine(int line, Line data) { for (int index = 0; index < 3; index ++) { colors[line][index] = data.get(index); } } FaceValue(Elements fill); private  FaceValue(); @Override String toString(); Line getLine(int line); Line getRow(int row); void updateLine(int line, Line data); void updateRow(int row, Line data); void rotateClockwise(); Elements get(Neighbor neighborFace); boolean isSolved();  }### Answer:
@Test public void testUpdateLine() { FaceValue face = new FaceValue(Elements.BLUE); assertEquals( "BBB" + "BBB" + "BBB", face.toString()); face.updateLine(0, new Line("YGO")); assertEquals( "YGO" + "BBB" + "BBB", face.toString()); face.updateLine(1, new Line("GRY")); assertEquals( "YGO" + "GRY" + "BBB", face.toString()); face.updateLine(2, new Line("ORG")); assertEquals( "YGO" + "GRY" + "ORG", face.toString()); assertEquals("YGO", face.getLine(0).toString()); assertEquals("GRY", face.getLine(1).toString()); assertEquals("ORG", face.getLine(2).toString()); }