}
protected void checkDescriptor(Descriptor desc)
{
super.checkDescriptor(desc);
Service service = (Service)desc;
assertEquals( m_reference, service.getReference());
assertEquals( m_reference.getClassname(), service.getClassname());
assertEquals( m_reference.getVersion(), service.getVersion());
assertEquals( m_entries.length, service.getEntries().length );
assertTrue( service.matches(m_reference));
EntryDescriptor[] serviceEntries = service.getEntries();
for (int i = 0; i < m_entries.length; i++)
{
assertEquals( m_entries[i], serviceEntries[i]);
}
}