def test_setting_access_group(self, t):
        enable(t)

        create_interface_vlan(t, "2999")
        configuring_interface_vlan(t, "2999", do="ip access-group SHNITZLE in")
        configuring_interface_vlan(t, "2999", do="ip access-group WHIZZLE out")

        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            " ip access-group SHNITZLE in",
            " ip access-group WHIZZLE out",
            "end"])

        configuring_interface_vlan(t, "2999", do="no ip access-group in")
        configuring_interface_vlan(t, "2999", do="no ip access-group WHIZZLE out")

        assert_interface_configuration(t, "Vlan2999", [
            "interface Vlan2999",
            " no ip address",
            "end"])

        configuring(t, do="no interface vlan 2999")