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