public void GetStatus() { Twizo twizo = new Twizo(this.apiKey, this.apiHost); var backup = twizo.GetBackupCode(this.identifier); LogResponse(backup); }
public void GetBackupCodeTest() { //Arrange string identifier = "myIdentifier"; Twizo twizo = new Twizo(apiKey, apiHost); //Act try { twizo.CreateBackupCode(identifier); } catch { } var backup = twizo.GetBackupCode(identifier); //Assert Assert.AreEqual(backup.identifier, identifier); }