### Question:
DataStorageDao extends NamedParameterJdbcDaoSupport { public Integer loadTotalCount() { return getJdbcTemplate().queryForObject(loadStorageCountQuery, Integer.class); }  @Transactional(propagation = Propagation.MANDATORY) Long createDataStorageId(); @Transactional(propagation = Propagation.MANDATORY) void createDataStorage(AbstractDataStorage dataStorage); @Transactional(propagation = Propagation.MANDATORY) void updateDataStorage(AbstractDataStorage dataStorage); @Transactional(propagation = Propagation.MANDATORY) void deleteDataStorage(Long id); List<AbstractDataStorage> loadAllDataStorages(); List<AbstractDataStorage> loadDataStoragesByIds(final List<Long> ids); AbstractDataStorage loadDataStorage(Long id); AbstractDataStorage loadDataStorageByNameOrPath(String name, String path); AbstractDataStorage loadDataStorageByNameAndParentId(String name, Long folderId); List<AbstractDataStorage> loadDataStoragesByPrefixes(final Collection<String> prefixes); List<AbstractDataStorage> loadRootDataStorages(); Integer loadTotalCount(); Collection<AbstractDataStorage> loadAllWithParents(Integer page, Integer pageSize); AbstractDataStorage loadStorageWithParents(final Long id); @Transactional(propagation = Propagation.MANDATORY) void updateLocks(List<Long> storageIds, boolean isLocked); List<AbstractDataStorage> loadDataStoragesByNFSPath(String nfsRootPath); List<AbstractDataStorage> loadDataStoragesByFileShareMountID(Long fileShareId); @Required void setLoadDataStoragesByNFSRootPath(String loadDataStoragesByNFSRootPath); @Required void setDataStorageSequence(String dataStorageSequence); @Required void setLoadAllDataStoragesQuery(String loadAllDataStoragesQuery); @Required void setLoadDataStorageByIdQuery(String loadDataStorageByIdQuery); @Required void setLoadRootDataStoragesQuery(String loadRootDataStoragesQuery); @Required void setCreateDataStorageQuery(String createDataStorageQuery); @Required void setDeleteDataStorageQuery(String deleteDataStorageQuery); @Required void setUpdateDataStorageQuery(String updateDataStorageQuery); @Required void setLoadDataStorageByNameQuery(String loadDataStorageByNameQuery); @Required void setLoadDataStorageByNameAndParentIdQuery(String loadDataStorageByNameAndParentIdQuery); @Required void setUpdateStorageLocksQuery(String updateStorageLocksQuery); @Required void setLoadStorageCountQuery(String loadStorageCountQuery); @Required void setLoadAllStoragesWithParentsQuery(String loadAllStoragesWithParentsQuery); @Required void setLoadStorageWithParentsQuery(String loadStorageWithParentsQuery); @Required void setLoadDataStorageByPrefixesQuery(String loadDataStorageByPrefixesQuery); void setLoadDataStoragesByIdsQuery(String loadDataStoragesByIdsQuery); void setLoadDataStoragesFileShareId(String loadDataStoragesFileShareId);  }### Answer:
@Test public void shouldReturnZeroTotalCountWithoutStorages() { assertThat(dataStorageDao.loadTotalCount()).isEqualTo(0); }