@SuppressWarnings("unchecked")
@Test
public void convert_tuple_to_an_array() {
Tuple tuple = new Tuple("Yoda", 800, "Jedi");
assertThat(tuple.toArray()).isEqualTo(array("Yoda", 800, "Jedi"));
}
@Test
public void tuple_representation() {
Tuple tuple = new Tuple("Yoda", 800, "Jedi");