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