'Edit the yaml file incorrectly (resulting in a well-formed but
invalid yaml document).'

def test_invalid_yaml(self, mock_write):

    self.run_mocked_command({'contents': u'wellformed:    yes,    but    invalid'}, [])
    self.assertCounts(mock_write, write_call_count=0, title_starts_with=u't\xeftle')
