when($result = new \Mock\Hoa\Stream\Wrapper\IWrapper\Stream()) ->then ->object($result) ->isInstanceOf(SUT::class); } }