ComposerController { int tweetTextLength(String text) { if (TextUtils.isEmpty(text)) { return 0; } return dependencyProvider.getTweetValidator().getTweetLength(text); } ComposerController(final ComposerView composerView, TwitterSession session, Uri imageUri,
            String text, String hashtags, ComposerActivity.Finisher finisher);   ComposerController(final ComposerView composerView, TwitterSession session, Uri imageUri,
            String text, String hashtags, ComposerActivity.Finisher finisher,
            DependencyProvider dependencyProvider);   }
@Test public void testTweetTextLength() { controller = new ComposerController(mockComposerView, mockTwitterSession, Uri.EMPTY, ANY_TEXT, ANY_HASHTAG, mockFinisher, mockDependencyProvider); assertEquals(0, controller.tweetTextLength(null)); assertEquals(0, controller.tweetTextLength("")); assertEquals(1, controller.tweetTextLength("☃")); assertEquals(5, controller.tweetTextLength("tweet")); assertEquals(39, controller.tweetTextLength("tweet with link https: assertEquals(23, controller.tweetTextLength("https: }