#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Tests for the VHD image resolver helper implementation."""

import unittest

from dfvfs.resolver import test_lib
from dfvfs.resolver import vhdi_resolver_helper


class VhdiResolverHelperTest(test_lib.ResolverHelperTestCase):
  """Tests for the VHD image resolver helper implementation."""

  def testNewFileObject(self):
    """Tests the NewFileObject function."""
    resolver_helper_object = vhdi_resolver_helper.VhdiResolverHelper()
    self._TestNewFileObject(resolver_helper_object)

  def testNewFileSystem(self):
    """Tests the NewFileSystem function."""
    resolver_helper_object = vhdi_resolver_helper.VhdiResolverHelper() 
    self._TestNewFileSystemRaisesRuntimeError(resolver_helper_object)


if __name__ == '__main__':
  unittest.main()
