test_class.declarator: mMockRepository
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private Repository<ExampleUser> mMockRepository;
test_class.type: Repository<ExampleUser>
test_class.var_name: mMockRepository
test_class.declarator: mTarget
test_class.modifier: private
test_class.original_string: private Register mTarget;
test_class.type: Register
test_class.var_name: mTarget
test_class.file: ExampleApp/src/test/java/com/badoo/chateau/example/usecases/session/RegisterTest.java
test_class.identifier: RegisterTest
test_class.superclass: extends BaseRxTestCase
test_case.body: @Test
      public void whenMessagesForChatRequested_thenRepoIsQueriedForCorrectChatId() throws Exception {
          // Setup
          final String userName = "userName";
          final String displayName = "displayName";
          final String password = "password";
          final BaseUser expectedResult = new BaseUser("id", "displayName");
          when(mMockRepository.query(eq(new SessionQuery.Register<>(userName, displayName, password))))
              .thenReturn(Observable.just(expectedResult));
  
          // Execute
          mTarget.execute(userName, displayName, password);
  
          // Assert
          verify(mMockRepository, times(1)).query(eq(new SessionQuery.Register<>(userName, displayName, password)));
      }
test_case.class_method_signature: RegisterTest.whenMessagesForChatRequested_thenRepoIsQueriedForCorrectChatId()
test_case.full_signature: @Test public void whenMessagesForChatRequested_thenRepoIsQueriedForCorrectChatId()
test_case.identifier: whenMessagesForChatRequested_thenRepoIsQueriedForCorrectChatId
test_case.invocations: thenReturn when query eq just execute query verify times eq
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void whenMessagesForChatRequested_thenRepoIsQueriedForCorrectChatId()
focal_class.declarator: mRepository
focal_class.modifier: private final
focal_class.original_string: private final Repository<U> mRepository;
focal_class.type: Repository<U>
focal_class.var_name: mRepository
focal_class.file: ExampleApp/src/main/java/com/badoo/chateau/example/usecases/session/Register.java
focal_class.identifier: Register
focal_class.class_method_signature: Register.Register(@NonNull Repository<U> repository)
focal_class.full_signature: public  Register(@NonNull Repository<U> repository)
focal_class.identifier: Register
focal_class.modifiers: public
focal_class.parameters: (@NonNull Repository<U> repository)
focal_class.signature:  Register(@NonNull Repository<U> repository)
focal_class.class_method_signature: Register.execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_class.full_signature: public Observable<U> execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_class.identifier: execute
focal_class.modifiers: public
focal_class.parameters: (@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_class.return: Observable<U>
focal_class.signature: Observable<U> execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_method.body: public Observable<U> execute(@NonNull String userName, @NonNull String displayName, @NonNull String password) {
          return mRepository.query(new SessionQuery.Register<>(userName, displayName, password));
      }
focal_method.class_method_signature: Register.execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_method.full_signature: public Observable<U> execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_method.identifier: execute
focal_method.invocations: query
focal_method.modifiers: public
focal_method.parameters: (@NonNull String userName, @NonNull String displayName, @NonNull String password)
focal_method.return: Observable<U>
focal_method.signature: Observable<U> execute(@NonNull String userName, @NonNull String displayName, @NonNull String password)