function testOpenColor(cursor, color) {
            makeColorEditor(cursor);
            runs(function () {
                expect(inline).toBeTruthy();
                expect(inline._color).toBe(color);
            });
        }
Expects an inline editor to be opened at the given cursor position and to have the
given initial color (which should match the color at that position).
@param {!{line:number, ch:number}} cursor The cursor position to try opening the inline at.
@param {string} color The expected color.