public void GivenLazyListWhenClearShouldLoad() { _lazyLoadResolverMock.Setup(x => x.Resolve(It.IsAny <LazyLoadParameter>())) .Returns(new[] { new Stub(), new Stub() }) .Verifiable(); var lazyList = new LazyList <Stub>(_lazyLoadResolverMock.Object); lazyList.Clear(); _lazyLoadResolverMock.VerifyAll(); }
/// <inheritdoc/> public void Clear() { locals.Clear(); }
public void Clear() { m_items.Clear(); }