assertEquals(element, fault0.getLogical().getLogical().getElementName());
}
public void testUnregister() throws Exception {
JavaInterfaceVisitor extension = createMock(JavaInterfaceVisitor.class);
extension.visitInterface(EasyMock.isA(JavaInterface.class));
expectLastCall().once();
replay(extension);
factory.addInterfaceVisitor(extension);
factory.createJavaInterface(Base.class);
factory.removeInterfaceVisitor(extension);