@Test(expected = NoSuchElementException.class)
public void testGetWithEmptyObservable() throws Throwable {

    Observable<String> obs = Observable.empty();
    Future<String> f = obs.toBlocking().toFuture();
    try {
        f.get();
    }
    catch(ExecutionException e) {
        throw e.getCause();
    }
}