public async Task should_connect_as_expected()
        {
            // given
            var configReader  = JsonConfigReader.DefaultLocation();
            var containerStub = new NoobotContainerStub();
            var connector     = new NoobotCore(configReader, new EmptyLogger(), containerStub);

            // when
            await connector.Connect();

            // then
        }
Beispiel #2
0
        public void should_connect_as_expected()
        {
            // given
            var configReader  = new ConfigReader();
            var containerStub = new NoobotContainerStub();
            var connector     = new NoobotCore(configReader, new EmptyLogger(), containerStub);

            // when
            var task = connector.Connect();

            task.Wait();

            // then
        }
        public void should_connect_as_expected()
        {
            // given
            var configReader = new ConfigReader();
            var containerStub = new NoobotContainerStub();
            var connector = new NoobotCore(configReader, new EmptyLog(), containerStub);

            // when
            var task = connector.Connect();
            task.Wait();

            // then

        }