Hi
i m getting a very strange behaviour and sure cannot explain it the closest i get to the problem is describe with the code below.
the expected behaviour is all test to pass. but they fail randomly .
using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
using MbUnit.Core.Framework;
using MbUnit.Framework;
using MCH.Shared;
using TypeMock;
namespace MCH.Views.Test.Controllers
{
[TestFixture]
public class ClassNameTest
{
[SetUp]
public void SetUp()
{
// Shared.Program.Session.BeginTransaction();
MockManager.Init();
Assembly.Load(Options.DalAssemblyPath);
}
[RowTest]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
[Row("MoveDown", 0)]
[Row("MoveUp", 1)]
public void MoveUpMoveDown(stri