when($result = new \Mock\Hoa\Stream\IStream\Pointable()) ->then ->object($result) ->isInstanceOf(SUT::class) ->isInstanceOf(LUT\IStream\Stream::class); } public function case_constants() { $this ->when($result = SUT::SEEK_SET) ->then ->integer($result) ->isEqualTo(SEEK_SET) ->when($result = SUT::SEEK_CURRENT) ->then ->integer($result) ->isEqualTo(SEEK_CUR) ->when($result = SUT::SEEK_END) ->then ->integer($result) ->isEqualTo(SEEK_END); } }