Table of Contents

WaitForAuthority

Constructors
public WaitForAuthority(Client client, string entityName, bool hasStateAuthority = true, bool waitForEntityToExist = false, int lineNumber = 0)
Parameters
Type Name Description
Client client
string entityName
bool hasStateAuthority

If this set to true, then this test step will wait until client has state authority over the entity.

If this set to false, then this test step will wait until client has no state authority over the entity.

bool waitForEntityToExist

If this set to true, and entity by the given name does not exist when this test gets executed, then an exception will be thrown.

If this set to false, and entity by the given name does not exist when this test gets executed, then the test will wait until the entity exists.

int lineNumber