Пример #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setup()
        public virtual void Setup()
        {
            _channel = new EmbeddedChannel();
            _log     = mock(typeof(Log));

            _connection = mock(typeof(BoltConnection));
            when(_connection.id()).thenReturn(_channel.id().asLongText());
            when(_connection.channel()).thenReturn(_channel);
        }