diff --git a/src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs b/src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs index ae168a6de..22d2d4c00 100644 --- a/src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs +++ b/src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs @@ -134,7 +134,7 @@ public void ProxyType_Undefined() Assert.AreEqual("ProxyTypes '666' is not supported.", ex.Message); } - _connectionInfoMock.Verify(p => p.ProxyType, Times.Once); + _connectionInfoMock.Verify(p => p.ProxyType, Times.Exactly(2)); } } }