public void CredentialsTest() { JenkinsComCloudbeesPluginsCredentialsViewCredentialsActionRootActionImpl credentials; using (Jenkins jenkins = new Jenkins(this.host, this.login, this.password)) { credentials = jenkins.GetCredentialsAsync().Result; } Assert.IsNotNull(credentials, "credentials"); }