assertEquals("Wrong method", "content2", methods[0].getMethodName());
}
@Test
public void testListMethods1_2() throws Exception {
FedoraAPIAMTOM apia = s_client.getAPIAMTOM();
ObjectMethodsDef[] methods;
methods = filterMethods(apia.listMethods(OBJECT_1_2_PID, null).toArray(new ObjectMethodsDef[0]));
assertEquals("Too many methods!", 2, methods.length);
assertNotSame("SDefs are duplicated", methods[0]
.getServiceDefinitionPID(), methods[1]
.getServiceDefinitionPID());
assertNotSame("methods are duplicated",