@Mock
private PluginBbCodeService bbCodeService;
@BeforeMethod
public void init() throws NoSuchFieldException {
BbCodeAwareSize annotation = (BbCodeAwareSize)
BbCodeAwareSizeValidatorTest.class.getField("value").getDeclaredAnnotations()[0];
initMocks(this);
validator = new BbCodeAwareSizeValidator(bbCodeService);
validator.initialize(annotation);