public void AfterClearCache() { _sut[x => x.Name == "Item 2"].Number.Should.Be(2); _sut.ClearCache(); _sut[x => x.Name == "Item 2"].Number.Should.Be(2); var entries = GetLastLogEntries(3); entries[0].SectionEnd.Should().BeOfType <ElementFindLogSection>(); entries[1].SectionEnd.Should().BeOfType <ExecuteBehaviorLogSection>(); entries[2].SectionEnd.Should().BeOfType <VerificationLogSection>(); }