mResource = new RDFResource();
mResource.initialize(testState);
mActivity = new RDFDBQueryActivity();
mActivity.setActivityDescriptor(new SimpleActivityDescriptor(
"SPARQLQueryeActivityTest"));
ResourceActivity ra = (ResourceActivity) mActivity;
ra.setTargetResourceAccessor(mResource
.createResourceAccessor(new NullSecurityContext()));