def METHOD_NAME():
    diag = Diagnosis()
    def foo_diagnostic():
        diag.fail("foo", "a")
    def bar_diagnostic():
        diag.success("bar", "b")
    diag.register(foo_diagnostic, bar_diagnostic)
    my_results = diag.run_explicit()
    assert my_results == [
        Diagnosis.Result(Diagnosis.DIAGNOSIS_FAIL, "foo", "a", None, None, None, None),
        Diagnosis.Result(Diagnosis.DIAGNOSIS_SUCCESS, "bar", "b", None, None, None, None),
    ]
    # Explicit diagnostics must not be stored
    assert not diag.diagnoses