def METHOD_NAME(mock_clean_state, mock_image_one):
    """
    Test with one image and startup_import_event
    """
    # NOTE: this should yield 1 imported event
    with patch.dict(imgadm.IMGADM_STATE, mock_clean_state), patch.dict(
        imgadm.__salt__, {"imgadm.list": MagicMock(return_value=mock_image_one)}
    ):
        config = [{"startup_import_event": True}]
        assert imgadm.validate(config) == (True, "Valid beacon configuration")
        ret = imgadm.beacon(config)
        res = [
            {
                "description": "Example Image 1",
                "name": "example-1",
                "os": "smartos",
                "published": "2018-01-01T00:42:00Z",
                "source": "https://images.joyent.com",
                "tag": "imported/00000000-0000-0000-0000-000000000001",
                "version": "18.1.0",
            }
        ]
        assert ret == res