### Question:
Twofer { public String twofer(String name) { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); }  String twofer(String name);  }### Answer:
@Test public void noNameGiven() { String input = null; String expected = "One for you, one for me."; assertEquals(expected, twofer.twofer(input)); }
@Ignore("Remove to run test") @Test public void aNameGiven() { String input = "Alice"; String expected = "One for Alice, one for me."; assertEquals(expected, twofer.twofer(input)); }
@Ignore("Remove to run test") @Test public void anotherNameGiven() { String input = "Bob"; String expected = "One for Bob, one for me."; assertEquals(expected, twofer.twofer(input)); }
@Ignore("Remove to run test") @Test public void emptyStringIsNotTheSameAsNull() { String input = ""; String expected = "One for , one for me."; assertEquals(expected, twofer.twofer(input)); }