// Load up a testing UCP configuration.
// This contains an Adaptor definition for our provider, etc.
Environment.init("/com/volantis/mcs/ibm/ucp/ucp-config.xml");
// Create the provider.
IProvider provider = ProviderFactory.getProvider();
// Check it is the type we expect.
assertTrue(provider instanceof MCSDeviceRepositoryProvider);
}