public void ShouldAssertWithByteArrayArguments() { ITestInterface ti = Mock.Create <ITestInterface>(); byte[] newimagebytes = new byte[1] { 4 }; ti.DoStuff(newimagebytes); Mock.Assert(() => ti.DoStuff(newimagebytes), Occurs.AtLeastOnce()); }