@Test
public void testListMethods4() throws Exception {
FedoraAPIAMTOM apia = s_client.getAPIAMTOM();
ObjectMethodsDef[] methods;
methods = filterMethods(apia.listMethods(OBJECT_4_PID, null).toArray(new ObjectMethodsDef[0]));
assertEquals("Too many methods!", 3, methods.length);
assertNotSame("SDefs are duplicated", methods[0]
.getServiceDefinitionPID(), methods[1]
.getServiceDefinitionPID());
assertNotSame("SDefs are duplicated", methods[0]