public XDMessagingClient()
        {
            var container = SimpleIocContainerBootstrapper.GetInstance();

            Listeners    = new Listeners(this, container);
            Broadcasters = new Broadcasters(this, container);
        }
Esempio n. 2
0
        public void GivenIocContainerInitializeShouldCompleteInLessThanHalfSecond()
        {
            // arrange
            var stopwatch = new Stopwatch();

            stopwatch.Start();

            // act
            SimpleIocContainerBootstrapper.GetInstance(true);
            stopwatch.Stop();

            // assert
            Assert.That(stopwatch.Elapsed.Milliseconds, Is.LessThanOrEqualTo(500));
        }
Esempio n. 3
0
 public void SetUp()
 {
     instance = SimpleIocContainerBootstrapper.GetInstance(true);
 }