public void GetAllInterfaces() { var result = _type.GetInterfaces(); var expectedInterfaces = new[] { typeof(ICloneable), typeof(IList), typeof(ICollection), typeof(IEnumerable), typeof(IStructuralComparable), typeof(IStructuralEquatable), typeof(IList <>).MakeTypePipeGenericType(_elementType), typeof(ICollection <>).MakeTypePipeGenericType(_elementType), typeof(IEnumerable <>).MakeTypePipeGenericType(_elementType) }; Assert.That(result, Is.EquivalentTo(expectedInterfaces)); }