### Question:
Raster { public static Raster load(Media media) { Check.notNull(media); final Xml root = new Xml(media); final RasterData dataRed = RasterData.load(root, ATT_RED); final RasterData dataGreen = RasterData.load(root, ATT_GREEN); final RasterData dataBlue = RasterData.load(root, ATT_BLUE); return new Raster(dataRed, dataGreen, dataBlue); } Raster(RasterData red, RasterData green, RasterData blue); static Raster load(Media media); RasterData getRed(); RasterData getGreen(); RasterData getBlue();  }### Answer:
@Test void testLoad() { assertNotNull(Raster.load(Medias.create("raster.xml"))); }
@Test void testLoadFailure() { assertThrows(() -> Raster.load(Medias.create("rasterError.xml")), "Node not found: lionengine:red"); }