def METHOD_NAME(cls):
    """
    Indicate that this test is finished; if any expected instantiations
    have not taken place, this will raise the appropriate AssertionError.
    """
    if cls._expectations:
        raise AssertionError(("{0} expected instances not created"
                              ).format(len(cls._expectations)))
    del cls._expectations