Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/FluentNHibernate.Specs/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ public static T As<T>(this object instance)
return (T)instance;
}

public static void ShouldContain<T>(this IEnumerable<T> collection, Func<T, bool> predicate)
{
collection.Any(predicate).ShouldBeTrue();
}

public static void ShouldNotContain<T>(this IEnumerable<T> collection, Func<T, bool> predicate)
{
collection.Any(predicate).ShouldBeFalse();
}

public static ClassMapping BuildMappingFor<T>(this FluentNHibernate.PersistenceModel model)
{
return model.BuildMappings()
Expand Down