public void ShouldCreateTransparentElementLoader() { var loader = _loaderFactory.CreateElementLoader( _searchContextMock.Object, By.Id("transparent"), false ); var firstElement = loader.Load(); var secondElement = loader.Load(); Assert.That(firstElement, Is.Not.SameAs(secondElement)); _searchContextMock.Verify( ctx => ctx.FindElement(By.Id("transparent")), Times.Exactly(2) ); }