public function case_stream_eof() { $this->given($this->function->feof = true, $wrapper = new SUT())->when($result = $wrapper->stream_eof())->then->boolean($result)->isTrue(); }