Skip to content

Commit bc2f4aa

Browse files
authored
Remove unused test methods (#737)
+semver:patch
1 parent 9fab4c4 commit bc2f4aa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/FluentNHibernate.Specs/Extensions.cs

-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@ public static T As<T>(this object instance)
1414
return (T)instance;
1515
}
1616

17-
public static void ShouldContain<T>(this IEnumerable<T> collection, Func<T, bool> predicate)
18-
{
19-
collection.Any(predicate).ShouldBeTrue();
20-
}
21-
22-
public static void ShouldNotContain<T>(this IEnumerable<T> collection, Func<T, bool> predicate)
23-
{
24-
collection.Any(predicate).ShouldBeFalse();
25-
}
26-
2717
public static ClassMapping BuildMappingFor<T>(this FluentNHibernate.PersistenceModel model)
2818
{
2919
return model.BuildMappings()

0 commit comments

Comments
 (0)