public void GblVirtualCommand_Verify_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; GblVirtualCommand command = new GblVirtualCommand(connection); Assert.IsTrue(command.Verify(false)); }
public void GblVirtualCommand_Construciton_1() { Mock <IIrbisConnection> mock = GetConnectionMock(); IIrbisConnection connection = mock.Object; GblVirtualCommand command = new GblVirtualCommand(connection); Assert.AreSame(connection, command.Connection); }