@Test void testConvert10to13() { Book b; b = new Book("0306406152", "", ""); assertEquals("9780306406157", b.getIsbn().isbn13().toString()); b = new Book("0596007124", "", ""); assertEquals("9780596007126", b.getIsbn().isbn13().toString()); b = new Book("1491950358", "", ""); assertEquals("9781491950357", b.getIsbn().isbn13().toString()); }
public ISBN getIsbn() { return isbn; }
Book { public ISBN getIsbn() { return isbn; } }
Book { public ISBN getIsbn() { return isbn; } Book(String isbn, String author, String name); }
Book { public ISBN getIsbn() { return isbn; } Book(String isbn, String author, String name); ISBN getIsbn(); }
Book { public ISBN getIsbn() { return isbn; } Book(String isbn, String author, String name); ISBN getIsbn();  }