Skip to content

Instantly share code, notes, and snippets.

View BuilderExample.cs
dataSentinel.Ensure(
EnsureTest.As("admin1", "Password2")
.ForCompany("CompanyName")
.EnsureThat()
.CompanyIsEditable()
.WithComponentADetails(new ComponentADetails(), new ComponentAVariantAPage())
.WithComponentBDetails(new ComponentBDetails(), new ComponentBVariantAPage())
.AndRemainLoggedIn()
.AndReturnTo(new HomePage())
.build()