public void phaselistenum() { PhaseList p = new PhaseList(); p.add(new ActionPhase(new ZhangFei(1))); Assert.IsInstanceOfType(p.GetEnumerator(), typeof(IEnumerator <Phase>)); }