assert

public Unit assert(Function0<ViewAssertion> function)

Check the view with the given custom assertion

Parameters

function

Lambda that must return ViewAssertion