@Test
public void test_checkIfDataCenterExists_whenDataCenterExists() throws Exception {

    final DataCenterVO dataCenter = new DataCenterVO();
    when(dataCenterDao.findById(1L)).thenReturn(dataCenter);
    final ResourceChecker resourceChecker = buildResourceChecker();
    assertThat(resourceChecker.checkIfDataCenterExists(1L), is(dataCenter));
}