}
@Test (expected=IllegalArgumentException.class)
public void fillTexturedTriangleWithColorAndTexCoordNull() throws IOException {
final Triangle triangle = getTriangle(false, true);
final ch.blackspirit.graphics.Image image = imageFactory.createImage(this.getClass().getResource("/player1.png"), true);
context.setGraphicsListener(new GraphicsListener() {
public void draw(View view, Graphics graphics) {
graphics.clear();
graphics.fillTriangle(triangle, true, image);
}
public void init(View view, Graphics renderer) {}