ILocaleContainer localeContainer = createMock(ILocaleContainer.class);
ILabelManager labelManager = createMock(ILabelManager.class);
MethodInvocation invoke = createMock(MethodInvocation.class);
HotelManager hotelManagerMock =
org.easymock.classextension.EasyMock.createMock(HotelManager.class, new Method[] {
HotelManager.class.getMethod("get",int.class),
} );
RemoveMultiLingualInterceptor interceptor = new RemoveMultiLingualInterceptor();
interceptor.setLabelManager(labelManager);
interceptor.setLocaleContainer(localeContainer);
Hotel h = new Hotel();
h.setBriefdescription("Hotel.Briefdescription");
h.setDescription("Hotel.Description");
h.setId(1);
HotelManager hmanager = new HotelManager();
Class cls = HotelManager.class;
Method m = cls.getMethod("remove", new Class[] {int.class});
Label label = new Label();
label.setCode("Hotel.Briefdescription");