1 //
2 // Copyright (c) 2010-2019 Antmicro
3 //
4 //  This file is licensed under the MIT License.
5 //  Full license text is available in 'licenses/MIT.txt'.
6 //
7 using System;
8 using Antmicro.Renode.Peripherals.Bus;
9 
10 namespace Antmicro.Renode.Tests.UnitTests.Mocks
11 {
12     public class MockPeripheralWithNumericalAttrubute : IBytePeripheral
13     {
MockPeripheralWithNumericalAttrubute(int mockInt)14         public MockPeripheralWithNumericalAttrubute(int mockInt)
15         {
16             MockInt = mockInt;
17         }
18 
Reset()19         public void Reset()
20         {
21         }
22 
ReadByte(long offset)23         public byte ReadByte(long offset)
24         {
25             throw new NotImplementedException();
26         }
27 
WriteByte(long offset, byte value)28         public void WriteByte(long offset, byte value)
29         {
30             throw new NotImplementedException();
31         }
32 
33         public int MockInt { get; set; }
34 
35     }
36 }
37