@Test(expected = RuntimeException.class)
public void save_fail() throws IOException, SolrServerException {

    when(solrServer.addBean(t1)).thenThrow(new SolrException(null, queryString));
    executor.save(t1);
}