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