@Test(expected = NotFoundException.class)
public void getDataSetForMissing() {

    Mockito.when(dataSetProvider.find(Mockito.any(DataSet.ID.class))).thenReturn(Optional.empty());
    controller.getDataSet("id");
}