use of com.tvd12.ezyfoxserver.controller.EzyRequestAppController in project ezyfox-server by youngmonkeys.
the class EzyRequestAppControllerTest method testHasNotAccessed.
@Test
public void testHasNotAccessed() {
EzyArray data = EzyEntityArrays.newArray(1, EzyEntityArrays.newArray());
EzyRequestAppController controller = new EzyRequestAppController();
MyTestUser user = new MyTestUser();
user.setName("dungtv1");
user.addSession(session);
EzySimpleRequestAppRequest request = new EzySimpleRequestAppRequest();
request.deserializeParams(data);
request.setUser(user);
request.setSession(session);
EzyServerContext ctx = newServerContext();
controller.handle(ctx, request);
}
use of com.tvd12.ezyfoxserver.controller.EzyRequestAppController in project ezyfox-server by youngmonkeys.
the class EzyRequestAppControllerTest method test.
@Test
public void test() {
EzyArray data = EzyEntityArrays.newArray(1, EzyEntityArrays.newArray());
EzyRequestAppController controller = new EzyRequestAppController();
EzySimpleRequestAppRequest request = new EzySimpleRequestAppRequest();
request.deserializeParams(data);
request.setUser(user);
request.setSession(session);
EzyServerContext ctx = newServerContext();
controller.handle(ctx, request);
}
Aggregations