public void ItKnowsIfItIsSelected() { TableRowProvider.Select(); TableRowProvider.IsSelected.Should().BeTrue(); }
public void ItCanClearTheSelection() { TableRowProvider.RemoveFromSelection(); _rowInformationStub.ShouldHaveBeenCleared(); }
public void ItCanAddToTheSelection() { TableRowProvider.AddToSelection(); _rowInformationStub.ShouldHaveBeenSelected(); }
public void ItIsSelectable() { TableRowProvider.Select(); _rowInformationStub.ShouldHaveBeenSelected(); }
public void ItDoublesAsASelectionItem() { TableRowProvider.Should().BeAssignableTo <ISelectionItemProvider>(); TableRowProvider.GetPatternProvider(SelectionItemPatternIdentifiers.Pattern.Id).Should() .BeSameAs(TableRowProvider); }
public void ItIsOfTheDataItemIlk() { TableRowProvider.GetPropertyValue(AutomationElementIdentifiers.ControlTypeProperty.Id) .ShouldBeEquivalentTo(ControlType.DataItem.Id); }