using System;
using System.IO;
using Trinity.Core;
using Trinity.Extensions;

namespace Trinity.Unit.Tests
{
    public class TestVerifiable : IVerifiable
    {
        private readonly string testStr = "testStr";

        public Witness[] Scripts
        {
            get => throw new NotImplementedException();
            set => throw new NotImplementedException();
        }

        public int Size => throw new NotImplementedException();

        public void Deserialize(BinaryReader reader)
        {
            throw new NotImplementedException();
        }

        public void DeserializeUnsigned(BinaryReader reader)
        {
            throw new NotImplementedException();
        }

        public byte[] GetMessage() => throw new NotImplementedException();

        public UInt160[] GetScriptHashesForVerifying() => throw new NotImplementedException();

        public void Serialize(BinaryWriter writer)
        {
            throw new NotImplementedException();
        }

        public void SerializeUnsigned(BinaryWriter writer)
        {
            writer.Write(testStr);
        }
    }
}