@Test
public void test15getAllTagDefs() {

	try {
		Mockito.when(tagStore.getTagDefs((SearchFilter)Mockito.any())).thenReturn(null);
	} catch (Exception e) {
	}
	Mockito.when(restErrorUtil.createRESTException(Mockito.anyInt(), Mockito.anyString(), Mockito.anyBoolean())).thenThrow(new WebApplicationException());
	thrown.expect(WebApplicationException.class);
	tagREST.getAllTagDefs();
	
	try {
		Mockito.verify(tagStore).getTagDefs((SearchFilter)Mockito.any());
	} catch (Exception e) {
	}
	Mockito.verify(restErrorUtil).createRESTException(Mockito.anyInt(),
			Mockito.anyString(), Mockito.anyBoolean());
}