Add a test for removing a book

This commit is contained in:
Bradlee Speice 2014-07-18 18:39:03 -04:00
parent 08a1aaa684
commit d6d52cea04

View File

@ -88,8 +88,17 @@ public class InstalledManagerTest extends TestCase implements Injector {
assertFalse(foundMismatch.get());
}
/*
public void testRemoveBook() throws Exception {
final AtomicBoolean isRemoved = new AtomicBoolean(false);
getInstalledBooks()
.first()
.subscribe(new Action1<Book>() {
@Override
public void call(Book book) {
iM.removeBook(book);
isRemoved.set(!book.getDriver().isDeletable(book));
}
});
assertTrue(isRemoved.get());
}
*/
}