### Question:
JavaName { public void addFirst(String segment) { words.add(0, normalize(segment)); } JavaName(List<String> words); static JavaName of(String nameString); List<String> getSegments(); String toTypeName(); String toMemberName(); String toConstantName(); String toSnakeName(); void addFirst(String segment); void removeFirst(); void addLast(String segment); void removeLast();  }### Answer:
@Test public void addFirst() { JavaName name = JavaName.of("OneTwoThreeFour"); name.addFirst("Zero"); assertThat(name.getSegments(), contains("zero", "one", "two", "three", "four")); }