ComposerController { static int remainingCharCount(int charCount) { return Validator.MAX_TWEET_LENGTH - charCount; } 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 testRemainingCharCount() { assertEquals(140, ComposerController.remainingCharCount(0)); assertEquals(139, ComposerController.remainingCharCount(1)); assertEquals(0, ComposerController.remainingCharCount(140)); assertEquals(-1, ComposerController.remainingCharCount(141)); }