def METHOD_NAME(mock_clean_state, mock_vm_one):
    """
    Test with one vm and startup_create_event
    """
    # NOTE: this should yield 1 created event + one state event
    with patch.dict(vmadm.VMADM_STATE, mock_clean_state), patch.dict(
        vmadm.__salt__, {"vmadm.list": MagicMock(return_value=mock_vm_one)}
    ):
        config = [{"startup_create_event": True}]
        ret = vmadm.validate(config)
        assert ret == (True, "Valid beacon configuration")
        ret = vmadm.beacon(config)
        res = [
            {
                "alias": "vm1",
                "tag": "created/00000000-0000-0000-0000-000000000001",
                "hostname": "vm1",
                "dns_domain": "example.org",
            },
            {
                "alias": "vm1",
                "tag": "running/00000000-0000-0000-0000-000000000001",
                "hostname": "vm1",
                "dns_domain": "example.org",
            },
        ]
        assert ret == res