public void FromNonce_ReturnsErrorWhenProvidedNoncePointingToUnlockedSharedCard()
{
string nonce = TestHelper.GenerateUnlockedNonce(gateway);
Exception exception = null;
try {
gateway.CreditCard.FromNonce(nonce);
} catch (Exception tempException) {
exception = tempException;
}
Assert.IsNotNull(exception);
StringAssert.Contains("not found", exception.Message);
Assert.IsInstanceOf(typeof(NotFoundException), exception);
}