public void should_return_default_user() throws Exception {
final FakeApplication fakeApplication = Helpers.fakeApplication();
running(fakeApplication, new Runnable() {
@Override
public void run() {
final Identity identity = userService.doFind(new IdentityId("test","icule"));
assertThat(identity).isNotNull();
assertThat(identity).isEqualTo(defaultIdentity);
}
});
}