when($result = new \Mock\Hoa\Stream\IStream\Statable()) ->then ->object($result) ->isInstanceOf(SUT::class) ->isInstanceOf(LUT\IStream\Stream::class); } public function case_constants() { $this ->when($result = SUT::SIZE_UNDEFINED) ->then ->integer($result) ->isEqualTo(-1); } }