source: class TaskValidationTest {
  
      private static final String VALID_TASK_NAME;
      private static final String EMPTY_TASK_NAME;
      private static final String INVALID_TASK_NAME;
      private static final String ERROR_MESSAGE_EMPTY;
      private static final String ERROR_MESSAGE_ONLY_LETTERS;
      private static final String ERROR_MESSAGE_ONLY_NUMBERS;
      private static final String ERROR_MESSAGE_NAME_EXIST;
      private static final String INVALID_DURATION;
      private static final String VALID_DURATION;
      private static final String EMPTY_DURATION;
      private static final Long TASK_ID;
      @Mock
      public StringsProvider stringsProvider;
      @Mock
      public TaskTemplateRepository taskTemplateRepository;
      @Mock
      public EditText editTextName;
      private TaskValidation taskValidation;
      private TaskTemplate duplicatedTaskTemplate;
  
      @Test
      public void whenTaskNameToSaveIsEmptyExpectTaskIsNotInvalid() {
  
target:         ValidationResult validationResult = taskValidation.isNewNameValid(EMPTY_TASK_NAME);
  
          assertThat(validationResult.getValidationStatus(), is(ValidationStatus.INVALID));
          assertThat(validationResult.getValidationInfo(), is(ERROR_MESSAGE_EMPTY));
      }
  
  }