def METHOD_NAME():
    init_d_globs = ["/etc/init.d/S50foo", "/etc/init.d/S90bar"]
    glob_mock = MagicMock(
        side_effect=lambda x: init_d_globs if x == "/etc/rc[S3].d/S*" else DEFAULT
    )
    with patch("glob.glob", glob_mock), patch.object(
        debian_service, "_get_runlevel", MagicMock(return_value="3")
    ):
        ret = debian_service.get_enabled()
        expected = ["bar", "foo"]
        assert ret == expected, ret