use of com.tvd12.ezyfoxserver.response.EzyAccessAppResponse in project ezyfox-server by youngmonkeys.
the class EzyAccessAppResponseTest method test.
@Test
public void test() {
EzySimpleAppSetting setting = new EzySimpleAppSetting();
EzyAccessAppParams params = new EzyAccessAppParams();
EzyData data = EzyEntityFactory.EMPTY_ARRAY;
params.setData(data);
params.setApp(setting);
assert params.getApp() == setting;
assert params.getData() == data;
EzyAccessAppResponse response = new EzyAccessAppResponse(params);
assert response.getParams() == params;
assert response.getCommand() == EzyCommand.APP_ACCESS;
assert response.serialize().size() > 0;
response.release();
}
Aggregations