ADLTest.PlatformTest.testGetService C# (CSharp) Method

testGetService() private method

private testGetService ( ) : void
return void
        public void testGetService()
        {
            CountdownLatch latch = new CountdownLatch(1);
            InitListener listener = new InitListener(latch);
            Assert.IsNull(Platform.getService());
            Platform.init(listener);
            latch.Wait();
            Assert.IsNotNull(Platform.getService());
            tearDown();
        }