Context"Create a new credential"{It"Should create new credentials with the proper properties"{$results=New-DbaCredential-SqlInstance$script:instance1-Namethorcred-CredentialIdentitythor-Password$password$results.Name|ShouldBe"thorcred"$results.Identity|ShouldBe"thor"