conf.put("mockUserService", false);
final FakeApplication app = fakeApplication(conf);
running(app, new Runnable() {
@Override
public void run() {
final BaseUserService userService1 = app.getWrappedApplication()
.plugin(CfpUserService.class).get().unWrap();
assertThat(userService1.getClass()).isEqualTo(CfpUserServiceDelegate.class);
assertThat(userService1.getClass()).isNotEqualTo(MockCfpUserServiceDelegate.class);
}
});
}