def METHOD_NAME(self, mock_fs_setup):
    Defaults.set_platform_name('x86_64')
    self.loop_provider = Mock()
    self.loop_provider.get_device = Mock(
        return_value='/dev/loop1'
    )
    self.loop_provider.create = Mock()
    self.filesystem = Mock()
    self.filesystem.create_on_device = Mock()
    self.filesystem.create_on_file = Mock()
    self.filesystem.sync_data = Mock()
    self.xml_state = Mock()
    self.xml_state.profiles = None
    self.xml_state.get_build_type_unpartitioned_bytes = Mock(
        return_value=0
    )
    self.xml_state.get_fs_mount_option_list = Mock(
        return_value=['async']
    )
    self.xml_state.get_fs_create_option_list = Mock(
        return_value=['-O', 'option']
    )
    self.xml_state.get_build_type_name = Mock(
        return_value='ext3'
    )
    self.xml_state.get_image_version = Mock(
        return_value='1.2.3'
    )
    self.xml_state.xml_data.get_name = Mock(
        return_value='myimage'
    )
    self.xml_state.build_type.get_target_blocksize = Mock(
        return_value=4096
    )
    self.xml_state.build_type.get_squashfscompression = Mock(
        return_value='gzip'
    )
    self.fs_setup = Mock()
    self.fs_setup.get_size_mbytes = Mock(
        return_value=42
    )
    self.METHOD_NAME = Mock()
    kiwi.builder.filesystem.SystemSetup = Mock(
        return_value=self.METHOD_NAME
    )