Yes, it's impossible to test. But it's still a good test to have. The reason why it always works is that the 'getBuffer' call in this test creates and attaches the buffer.

You are a very thorough reviewer.