com.atlassian.plugin.osgi.spring
Class TestServiceUnavailable

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.osgi.PluginInContainerTestBase
              extended by com.atlassian.plugin.osgi.spring.TestServiceUnavailable
All Implemented Interfaces:
junit.framework.Test

public class TestServiceUnavailable
extends PluginInContainerTestBase

When an optional OSGi service is unavailable at runtime, Spring DM's proxy class will throw a specific exception. The exception is different in OSGi Blueprint. This test is to demonstrate a plugin that relies on the Spring DM behaviour so we can consider other approaches.