TweetService { public void save(Tweet tweet) { tweetsDatabase.put(tweet.getId(), tweet); System.out.println("Created tweet: '" + tweet.getText() + "' - ID Nr.: " + tweet.getId()); }  void save(Tweet tweet); void delete(String id); Tweet findById(String id); int size(); List<Tweet> findAll(); List<Tweet> search(String someString);  }
@Test public void saveTest() { tweetService.save(tweet1); assertEquals("hola gente!!!", tweetService.findById(tweet1.getId()).getText()); }