Esempio n. 1
0
        public void SetUp()
        {
            _buffer = A.Fake<IAtomicBuffer>();

            A.CallTo(() => _buffer.Capacity).Returns(TotalBufferLength);

            _ringBuffer = new ManyToOneRingBuffer(_buffer);
        }
Esempio n. 2
0
 public void Setup()
 {
     conductorBuffer = new ManyToOneRingBuffer(new UnsafeBuffer(new byte[RingBufferDescriptor.TrailerLength + 1024]));
     conductor = new DriverProxy(conductorBuffer);
 }