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();
}