That's right. Investigating more deeply. It works with only this code:

```ruby
class MockSMTP
  def sendmail(mail, from, to)
  end

  def start(*args)
    yield self
  end
end
```