def METHOD_NAME(self):
    # Test _get_locations return the supported location types.
    registry = TargetRegistry()
    class SpecificEditor:
        pass
    class Locator1:
        pass
    class Locator2:
        pass
    def solver(wrapper, location):
        return 1
    # when
    registry.register_location(
        target_class=SpecificEditor,
        locator_class=Locator1,
        solver=solver,
    )
    registry.register_location(
        target_class=SpecificEditor,
        locator_class=Locator2,
        solver=solver,
    )
    # then
    self.assertEqual(
        registry._get_locations(SpecificEditor()), {Locator1, Locator2}
    )