def METHOD_NAME(self):
    """One phase fails. That phase is in the expected fails list."""
    fail_phase = self._set_last_core_phase_to_fail()
    xfails = expected_fails.ExpectedFails()
    xfails.add_failure(
        phase=fail_phase, expected_status=test_status.TEST_FAIL_STATUS
    )
    output = self._ts.phase_statuses_dump(xfails=xfails)
    self.assert_status_of_phase(
        output,
        test_status.TEST_FAIL_STATUS,
        fail_phase,
        self._TESTNAME,
        xfail="expected",
    )
    self.assert_num_expected_unexpected_fails(
        output, num_expected=1, num_unexpected=0
    )