test_class.declarator: userDao
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private UserDao userDao;
test_class.type: UserDao
test_class.var_name: userDao
test_class.declarator: userService
test_class.modifier: private
test_class.original_string: private UserService userService;
test_class.type: UserService
test_class.var_name: userService
test_class.declarator: username = "Jack"
test_class.modifier: private
test_class.original_string: private String username = "Jack";
test_class.type: String
test_class.var_name: username
test_class.declarator: password = "123456"
test_class.modifier: private
test_class.original_string: private String password = "123456";
test_class.type: String
test_class.var_name: password
test_class.declarator: jack = new User(username, EncryptHelper.encrypt(password))
test_class.modifier: private
test_class.original_string: private User jack = new User(username, EncryptHelper.encrypt(password));
test_class.type: User
test_class.var_name: jack
test_class.file: app/src/test/java/org/unicef/rapidreg/service/impl/UserServiceImplTest.java
test_class.identifier: UserServiceImplTest
test_case.body: @Test
      public void should_be_false_when_user_never_login_successfully() {
          when(userDao.countUser()).thenReturn(0L);
  
          assertThat(userService.isUserEverLoginSuccessfully(), is(false));
      }
test_case.class_method_signature: UserServiceImplTest.should_be_false_when_user_never_login_successfully()
test_case.full_signature: @Test public void should_be_false_when_user_never_login_successfully()
test_case.identifier: should_be_false_when_user_never_login_successfully
test_case.invocations: thenReturn when countUser assertThat isUserEverLoginSuccessfully is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_be_false_when_user_never_login_successfully()
focal_class.declarator: TAG = UserServiceImpl.class.getSimpleName()
focal_class.modifier: public static final
focal_class.original_string: public static final String TAG = UserServiceImpl.class.getSimpleName();
focal_class.type: String
focal_class.var_name: TAG
focal_class.declarator: userDao
focal_class.modifier: private
focal_class.original_string: private UserDao userDao;
focal_class.type: UserDao
focal_class.var_name: userDao
focal_class.file: app/src/main/java/org/unicef/rapidreg/service/impl/UserServiceImpl.java
focal_class.identifier: UserServiceImpl
focal_class.interfaces: implements UserService
focal_class.class_method_signature: UserServiceImpl.UserServiceImpl(UserDao userDao)
focal_class.full_signature: public  UserServiceImpl(UserDao userDao)
focal_class.identifier: UserServiceImpl
focal_class.modifiers: public
focal_class.parameters: (UserDao userDao)
focal_class.signature:  UserServiceImpl(UserDao userDao)
focal_class.class_method_signature: UserServiceImpl.isUserEverLoginSuccessfully()
focal_class.full_signature: public boolean isUserEverLoginSuccessfully()
focal_class.identifier: isUserEverLoginSuccessfully
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUserEverLoginSuccessfully()
focal_method.body: public boolean isUserEverLoginSuccessfully() {
          return userDao.countUser() > 0;
      }
focal_method.class_method_signature: UserServiceImpl.isUserEverLoginSuccessfully()
focal_method.full_signature: public boolean isUserEverLoginSuccessfully()
focal_method.identifier: isUserEverLoginSuccessfully
focal_method.invocations: countUser
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isUserEverLoginSuccessfully()