enumerator method test