public void KeyPress01() { SpreadsheetViewStub stub = new SpreadsheetViewStub(); Controller controller = new Controller(stub); stub.FireFileChosenEvent("../../demo1.ss"); Assert.AreEqual("../../demo1.ss", stub.Title); stub.FireKeyPressedEvent('\r', "A1", "Doubles"); Assert.IsTrue(stub.CalledKeyPressedEvent); }