protected Application getApplication() {
final Application appConfig = new Application() {
@Override
public Set<Object> getSingletons() {
return (Set) TestUtils.createSet(new IntegerEntityProvider(),
new CharacterEntityProvider(), new BooleanEntityProvider());
}
@Override
public Set<Class<?>> getClasses() {
return (Set) Collections.singleton(PrimitiveWrapperEntityResource.class);