public void GetEventListenerTypesReturnsOnlyEventListeners() { foreach (var type in NHEventListeners.GetEventListenerTypes()) { Assert.IsTrue(type.Name.EndsWith("EventListener")); } }
public void GetEventListenerTypesReturnsOnlyInterfaces() { foreach (var type in NHEventListeners.GetEventListenerTypes()) { Assert.IsTrue(type.IsInterface); } }
public void GetEventListenerTypesReturnsAtLeastOneType() { List <Type> types = new List <Type>(NHEventListeners.GetEventListenerTypes()); Assert.Greater(types.Count, 0); }
public void GetEventListenerTypes_returns_at_least_one_type() { List <Type> types = new List <Type>(NHEventListeners.GetEventListenerTypes()); Assert.Greater(types.Count, 0); }