I think there should be a test for this. It can look something like:
```ruby
expect(@session).to receive(:warn).with("File saved to some_location with save_and_open_page.")
```