public void SetAccountsDelegate() { try { Gigya.SetAccountsDelegate(Gigya.AccountsDelegate()); } catch (Exception e) { Assert.Fail(e.Message); } Assert.Pass(); }
public void AccountDidLogin() { Gigya.SetAccountsDelegate(new GSAccountsDelegate()); var acc = Gigya.AccountsDelegate(); try { acc.AccountDidLogin(new GSAccount()); } catch (Exception e) { Assert.Fail(e.Message); } Assert.Pass(); }