public static void IsEmpty(IEnumerable collection) { IsEmpty(collection, string.Empty, null); } #endregion
public void PrimaryTypeAndAdditionalInterfaceTypesCorrectWhenOnlyOneTypeSpecified() { CompositeType type = new CompositeType(new[] { typeof(IDisposable) }); Assert.AreEqual(typeof(IDisposable), type.PrimaryType, "Incorrect PrimaryType"); CollectionAssert.IsEmpty(type.AdditionalInterfaceTypes, "Incorrect AdditionalInterfaceTypes"); }