protected <T>void registerService(Class<T> clazz,T instance){
  applicationContainer.registerComponentInstance(clazz.getName(),instance);
}

protected < T > void registerService ( Class < T > clazz , T instance ) { applicationContainer . registerComponentInstance ( clazz . getName ( ) , instance ) ; }
register your mock implementations here before executing your test cases .
