Phone { public String number() { return this.number; } Phone(String number); String number();  }
@Test public void should_set_number_given_correct_phone_number() { String phoneNumber = "15023157777"; Phone phone = new Phone(phoneNumber); assertThat(phone.number()).isEqualTo(phoneNumber); }