public void OfOfTExpressionOfFuncOfTOfBoolean_should_throw_NotSupportedException_because_we_cannot_extract_mock_from_IQueryable() { // Arrange var ms = new MockStorage(MockBehavior.Default); // Act, Assert Assert.Throws <NotSupportedException>(() => ms.Of <ICloneable>(_ => _ is IComparable)); }
public void OfOfT_should_throw_NotSupportedException_because_we_cannot_extract_mock_from_IQueryable() { // Arrange var ms = new MockStorage(MockBehavior.Default); // Act, Assert Assert.Throws <NotSupportedException>(() => ms.Of <ICloneable>()); }