@Test(expected = InvalidParameterValueException.class)
public void test_checkIfDataCenterExists_whenDataCenterDoesNotExist() throws Exception {

    when(dataCenterDao.findById(1L)).thenReturn(null);
    final ResourceChecker resourceChecker = buildResourceChecker();
    resourceChecker.checkIfDataCenterExists(1L);
}