### Question:
Cube { public String getFace(Face name) { return cube.get(name).toString(); } Cube(); void init(); String getFace(Face name); FaceValue face(Face name); @Override String toString(); void doCommand(String stringCommand); Edges getEdges(); boolean isSolved();  }### Answer:
@Test public void testFaces() { Cube cube = new Cube(); assertEquals( "OOO" + "OOO" + "OOO", cube.getFace(Face.FRONT)); assertEquals( "WWW" + "WWW" + "WWW", cube.getFace(Face.UP)); assertEquals( "BBB" + "BBB" + "BBB", cube.getFace(Face.LEFT)); assertEquals( "GGG" + "GGG" + "GGG", cube.getFace(Face.RIGHT)); assertEquals( "YYY" + "YYY" + "YYY", cube.getFace(Face.DOWN)); assertEquals( "RRR" + "RRR" + "RRR", cube.getFace(Face.BACK)); }