@@ -0,0 +1,2074 @@
+package com.bkromhout.minerva.data;%0A%0Aimport nl.siegmann.epublib.domain.Author;%0Aimport nl.siegmann.epublib.domain.Book;%0Aimport org.junit.Test;%0A%0A/**%0A * Tests the %7B@link SuperBook%7D class.%0A */%0Apublic class SuperBookTest %7B%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void nullBookThrows() %7B%0A        new SuperBook(null, %22fake%22, %22null book%22.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void emptyBookThrows() %7B%0A        new SuperBook(new Book(), %22fake%22, %22empty book%22.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void emptyTitleBookThrows() %7B%0A        Book book = new Book();%0A        book.getMetadata().addTitle(%22%22);%0A        new SuperBook(book, %22fake%22, %22empty title book%22.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void noAuthorBookThrows() %7B%0A        String title = %22Book without author%22;%0A        Book book = new Book();%0A        book.getMetadata().addTitle(title);%0A        new SuperBook(book, %22fake%22, title.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void emptyAuthorBookThrows() %7B%0A        String title = %22Book with empty author%22;%0A        Book book = new Book();%0A        book.getMetadata().addTitle(title);%0A        book.getMetadata().addAuthor(new Author(%22%22));%0A        new SuperBook(book, %22fake%22, title.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void noPathBookThrows() %7B%0A        String title = %22Book without path%22;%0A        Book book = new Book();%0A        book.getMetadata().addTitle(title);%0A        book.getMetadata().addAuthor(new Author(%22Book%22, %22Author%22));%0A        new SuperBook(book, null, title.getBytes());%0A    %7D%0A%0A    @Test(expected = IllegalArgumentException.class)%0A    public void emptyPathBookThrows() %7B%0A        String title = %22Book with empty path%22;%0A        Book book = new Book();%0A        book.getMetadata().addTitle(title);%0A        book.getMetadata().addAuthor(new Author(%22Book%22, %22Author%22));%0A        new SuperBook(book, %22%22, title.getBytes());%0A    %7D%0A%7D%0A

Add tests for SuperBook class