### Question:
SimpleTokenizer implements Tokenizer { @Override public List<String> tokenize(String sentence) { return Arrays.asList(sentence.split(" ")); } SimpleTokenizer(String delimiter);  SimpleTokenizer(); @Override List<String> tokenize(String sentence); @Override String buildSentence(List<String> tokens);  }### Answer:
@Test public void testTokenize() { String sentence = "Hello! How are you?!"; SimpleTokenizer tokenizer = new SimpleTokenizer(); List<String> tokens = tokenizer.tokenize(sentence); String[] expectedTokens = new String[] {"Hello!", "How", "are", "you?!"}; Assert.assertEquals(tokens.size(), expectedTokens.length); for (int i = 0; i < expectedTokens.length; i++) { Assert.assertEquals(tokens.get(i), expectedTokens[i]); } Assert.assertEquals(tokenizer.buildSentence(tokens), sentence); }