//
ServiceDescriptor[] services = type.getServices();
if( services.length == 1 )
{
ServiceDescriptor dep = services[0];
if( !dep.getReference().getClassname().equals( SECONDARY_S ) )
{
assertTrue( "service classname: " + dep.getReference().getClassname(), false );
throw new Exception( "Service classname is incorrect" );
}
if( !dep.getReference().getVersion().toString().equals( "0.1.0" ) )
{
assertTrue( "service version: " + dep.getReference().getVersion(), false );
throw new Exception( "Service version is incorrect" );
}
}
else
{