public void testEdit() throws Throwable {
this.setAvatarStyle(AvatarConfig.STYLE_LOCAL);
String result = this.executeEdit();
assertEquals(Action.SUCCESS, result);
AvatarAction action = (AvatarAction) this.getAction();
assertEquals(56, action.getImageHeight());
assertEquals(56, action.getImageWidth());
assertEquals(100, action.getImageMaxSize());
assertEquals("png,jpg", action.getImageTypes());
}