def METHOD_NAME(self):
    unit = MockUnit(source="Foo")
    fix = SameBookendingWhitespace()
    self.assertEqual(fix.fix_target(["Bar"], unit), (["Bar"], False))
    self.assertEqual(fix.fix_target(["Bar\n"], unit), (["Bar"], True))