Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ContainSingle(TData expected) verification extension methods #276

Closed
YevgeniyShunevych opened this issue May 27, 2019 · 0 comments

Comments

1 participant
@YevgeniyShunevych
Copy link
Member

commented May 27, 2019

Add ContainSingle(TData expected) verification extension methods:

public static TOwner ContainSingle<TItem, TOwner>(this IDataVerificationProvider<IEnumerable<TItem>, TOwner> should, TItem expected)
    where TOwner : PageObject<TOwner>;

public static TOwner ContainSingle<TData, TOwner>(this IDataVerificationProvider<IEnumerable<IDataProvider<TData, TOwner>>, TOwner> should, TData expected)
    where TOwner : PageObject<TOwner>;

@YevgeniyShunevych YevgeniyShunevych added this to the 1.2.0 milestone May 27, 2019

@YevgeniyShunevych YevgeniyShunevych self-assigned this May 27, 2019

YevgeniyShunevych added a commit that referenced this issue May 27, 2019

#276 Add ContainSingle(TData expected) verification extension methods…
…; Add tests: Should_ContainSingle_Equal_FromOne and Should_ContainSingle_Equal_FromMany
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.