def METHOD_NAME(self, mock_exists):
    mock_exists.return_value = True
    assert self.disk_format.has_raw_disk() is True
    mock_exists.assert_called_once_with(
        'target_dir/some-disk-image.x86_64-1.2.3.raw'
    )