public void ConnectCommand_Verify_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; ConnectCommand command = new ConnectCommand(connection); Assert.IsFalse(command.Verify(false)); }
public void ConnectCommand_Verify_2() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; ConnectCommand command = new ConnectCommand(connection) { Username = "******", Password = "******" }; Assert.IsTrue(command.Verify(false)); }