March 2018
Intermediate to advanced
324 pages
8h 30m
English
We're almost done with this class. There are only two specifications left.
Let us make sure that, in normal circumstances, we return true:
@Test
public void whenDropThenReturnTrue() {
doReturn(mongoCollection).when(collection).getMongoCollection();
assertTrue(collection.drop());
}
Read now
Unlock full access